X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Fimportenv.pl;h=c28ffd054d4a4582bca7a6dffa54df1881df9900;hb=bc0bedcc9a054d550e68cd3ebd606b073b4151f7;hp=98ffa1413107eef7bf5b624e5959f375365bacb7;hpb=fe14fcc35f78a371a174a1d14256c2f35ae4262b;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/importenv.pl b/lib/importenv.pl index 98ffa14..c28ffd0 100644 --- a/lib/importenv.pl +++ b/lib/importenv.pl @@ -1,4 +1,4 @@ -;# $Header: importenv.pl,v 4.0 91/03/20 01:25:28 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;