From: Nick Ing-Simmons Date: Tue, 19 Dec 2000 21:34:06 +0000 (+0000) Subject: Avoid looking for File::Glob when we don't need it. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=252a85651c58141b15cf710194c39b4bef1ab549;p=p5sagit%2Fp5-mst-13.2.git Avoid looking for File::Glob when we don't need it. p4raw-id: //depot/perl@8201 --- diff --git a/ext/Encode/compile b/ext/Encode/compile index 3a106f3..406b411 100755 --- a/ext/Encode/compile +++ b/ext/Encode/compile @@ -38,7 +38,7 @@ sub encode_M return &encode_S; } -@ARGV = map(glob($_),@ARGV) if $^O eq 'MSWin32'; +eval "\@ARGV = map(glob(\$_),\@ARGV)" if ($^O eq 'MSWin32'); my $cname = shift(@ARGV); chmod(0666,$cname) if -f $cname && !-w $cname;