Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Apply A Set Of Regexes To A String

by mvc (Scribe)
on Oct 11, 2004 at 14:05 UTC ( #398155=note: print w/ replies, xml ) Need Help??


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/;
}


Comment on Re: Apply A Set Of Regexes To A String
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://398155]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2014-12-20 10:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls