Win32 fix for change #25850. I don't know if this define will ever
[p5sagit/p5-mst-13.2.git] / lib / importenv.pl
index d56f326..c28ffd0 100644 (file)
@@ -8,7 +8,7 @@
 
 local($tmp,$key) = '';
 
-foreach $key (keys(ENV)) {
+foreach $key (keys(%ENV)) {
     $tmp .= "\$$key = \$ENV{'$key'};" if $key =~ /^[A-Za-z]\w*$/;
 }
 eval $tmp;