good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: search and replace with a variableby mtmcc (Hermit) |
on Apr 09, 2014 at 15:20 UTC ( [id://1081668]=note: print w/replies, xml ) | Need Help?? |
What is the content of @lines? My guess is the problem lies there. You shouldn't need the /e modifier.
This works, for example:
In Section
Seekers of Perl Wisdom
|
|