in reply to Re: Parse $ Variable in text file
in thread Parse $ Variable in text file
s/\$(\w+)/${$1}/g;
Symbolic references like ${$1} are a bad idea, and that's why strict disallows them.
Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Parse $ Variable in text file
by gellyfish (Monsignor) on Jan 11, 2005 at 15:17 UTC | |
|
Re^3: Parse $ Variable in text file
by insaniac (Friar) on Jan 11, 2005 at 15:09 UTC |