X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Fimportenv.pl;h=c28ffd054d4a4582bca7a6dffa54df1881df9900;hb=e7ea3e70155d0bea30720ba41eb6bb6742aac0d1;hp=db3128be43ecc8dbe027ccd69a8be25787fd805e;hpb=154e51a4a1b0258759b5e901183403af515a35b9;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/importenv.pl b/lib/importenv.pl index db3128b..c28ffd0 100644 --- a/lib/importenv.pl +++ b/lib/importenv.pl @@ -1,4 +1,4 @@ -;# $Header: importenv.pl,v 3.0.1.1 90/08/09 03:56:38 lwall Locked $ +;# $RCSfile: importenv.pl,v $$Revision: 4.1 $$Date: 92/08/07 18:24:02 $ ;# This file, when interpreted, pulls the environment into normal variables. ;# Usage: @@ -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;