projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
RE: Two questions
[p5sagit/p5-mst-13.2.git]
/
lib
/
importenv.pl
diff --git
a/lib/importenv.pl
b/lib/importenv.pl
index
d56f326
..
c28ffd0
100644
(file)
--- a/
lib/importenv.pl
+++ b/
lib/importenv.pl
@@
-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;