Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: IF and some conditions

by Joost (Canon)
on Jun 02, 2005 at 11:51 UTC ( [id://462864]=note: print w/replies, xml ) Need Help??


in reply to Re: IF and some conditions
in thread IF and some conditions

I'd really rather write that with an == test instead of a regular expression:
print "OK\n" if grep { $test == $_ } (3,5,7);

Log In?
Username:
Password:

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

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

    No recent polls found