Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: OR sequence (ARRAY ~~ /PATTERN/)

by lodin (Hermit)
on Mar 21, 2008 at 22:58 UTC ( [id://675549]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if (grep { /http|html|a href/i } $FORM{'Comments'}, $FORM{'addr'}, $FO
    +RM{'name'}) {
      ...
    }
    
  2. or download this
    if ([ $FORM{'Comments'}, $FORM{'addr'}, $FORM{'name'} ] ~~ /http|html|
    +a href/i) {
      ...
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2024-04-25 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found