Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Testing multiple variables against the same criteria (IF statement)

by NetWallah (Canon)
on Sep 05, 2016 at 17:56 UTC ( [id://1171209]=note: print w/replies, xml ) Need Help??


in reply to Testing multiple variables against the same criteria (IF statement)

The 'any' function in List::Util will do this for you.

FYI - this is built-in to perl6.

        ...it is unhealthy to remain near things that are in the process of blowing up.     man page for WARP, by Larry Wall

  • Comment on Re: Testing multiple variables against the same criteria (IF statement)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-19 15:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found