in reply to Apply A Set Of Regexes To A String
why not use $_?
for ($html) { s/foo/bar/; s/baz/quux/; s/monkey/pants/; }
In Section
Seekers of Perl Wisdom
in reply to Apply A Set Of Regexes To A String
why not use $_?
for ($html) { s/foo/bar/; s/baz/quux/; s/monkey/pants/; }