in reply to substitution in a string
Making it work on a copy is just a matter ofs/([^=]+)/(my $lhs=$1) =~ tr:_:.:; $lhs/e for @envArray;
s/([^=]+)/(my $lhs=$1) =~ tr:_:.:; $lhs/e for @array=@envArray;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: substitution in a string
by Roger_B (Scribe) on Sep 28, 2005 at 13:32 UTC | |
by Roy Johnson (Monsignor) on Sep 28, 2005 at 14:36 UTC |