Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Check multiple array elements for a single condition

by Marshall (Canon)
on Aug 25, 2016 at 19:38 UTC ( [id://1170479]=note: print w/replies, xml ) Need Help??


in reply to Check multiple array elements for a single condition

As a contrary opinion, I think your code is fine. It is very clear, short and will execute very efficiently. I see no need to make it "shorter". Any shorter high level version of this will code to the same thing at lower levels. You are fine with this.
  • Comment on Re: Check multiple array elements for a single condition

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-20 01:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found