There's more than one way to do things | |
PerlMonks |
Re: lost in eval and regexpby gamache (Friar) |
on Nov 21, 2007 at 14:38 UTC ( [id://652140]=note: print w/replies, xml ) | Need Help?? |
This works:
There is probably a more efficient way to do it, but this does the job. $str can be each individual line, or whole chunks of the HTML. Update: a better way, as suggested by ikegami... I wonder how s///e evaded my notice for so long.
In Section
Seekers of Perl Wisdom
|
|