Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by lodin (Hermit)
on Mar 21, 2008 at 22:58 UTC ( #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 taking refuge in the Monastery: (4)
As of 2023-11-29 18:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?