summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2000-12-19 21:34:06 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2000-12-19 21:34:06 +0000
commit252a85651c58141b15cf710194c39b4bef1ab549 (patch)
tree2b72ff5a5762fa7ffec6b5886fb3ec5a09a262f1 /ext
parent0052ac316837cdfe887e895ae5f8d4a227b58687 (diff)
downloadperl-252a85651c58141b15cf710194c39b4bef1ab549.tar.gz
Avoid looking for File::Glob when we don't need it.
p4raw-id: //depot/perl@8201
Diffstat (limited to 'ext')
-rwxr-xr-xext/Encode/compile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Encode/compile b/ext/Encode/compile
index 3a106f39b8..406b411d0c 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;