in reply to How can I increment a var in a substitution?
which is a little trick to put code into an interpolated string$html_file_slurped_to_a_scalar =~ s/<img .*?>/«TOKEN_${\($n++)}»/gis;
- Ant
- Some of my best work - Fish Dinner
|
|---|