P is for Practical | |
PerlMonks |
Re: Apply A Set Of Regexes To A Stringby mvc (Scribe) |
on Oct 11, 2004 at 14:05 UTC ( [id://398155]=note: print w/replies, xml ) | Need Help?? |
why not use $_? for ($html) { s/foo/bar/; s/baz/quux/; s/monkey/pants/; }
In Section
Seekers of Perl Wisdom
|
|