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' }
In reply to Re^2: Parse $ Variable in text file
by Juerd
in thread Parse $ Variable in text file
by rad7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |