Avoid looking for File::Glob when we don't need it.
Nick Ing-Simmons [Tue, 19 Dec 2000 21:34:06 +0000 (21:34 +0000)]
p4raw-id: //depot/perl@8201

ext/Encode/compile

index 3a106f3..406b411 100755 (executable)
@@ -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;