furrypop has asked for the wisdom of the Perl Monks concerning the following question:
Thanks for your help.sub sub_env { my($in_string)=@_; $in_string =~ s/\$([A-Z0-9_]+)/$ENV{$1}/g; return $in_string; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: use of uninitialized value in substitution iterator
by borisz (Canon) on Nov 11, 2004 at 11:40 UTC | |
by furrypop (Novice) on Nov 11, 2004 at 15:10 UTC |