Skip to content

Commit

Permalink
Avoid a bareword-under-strict error when this sub isn't defined
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@5797 50811bd7-b8ce-0310-adc1-d9db26280581
  • Loading branch information
kenahoo committed Mar 3, 2006
1 parent 6b999f7 commit 45eecc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Module/Build/Platform/Windows.pm
Expand Up @@ -105,7 +105,7 @@ sub ACTION_realclean {

# Syntax differs between 9x & NT: the later requires a null arg (???)
require Win32;
my $null_arg = (Win32::GetOSVersion == 2) ? '""' : '';
my $null_arg = (Win32::GetOSVersion() == 2) ? '""' : '';
my $cmd = qq(start $null_arg /min "\%comspec\%" /c del "$full_progname");

my $fh = IO::File->new(">> $basename.bat")
Expand Down

0 comments on commit 45eecc3

Please sign in to comment.