Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: How to check whether my array contains element x

by LanX (Saint)
on Jan 17, 2013 at 13:03 UTC ( [id://1013772]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $entityName ~~ @array_to_be_checked
    
  2. or download this
      DB<104> @array= qw/http-listener-1 http-listener-2 http-listener-3 h
    +ttp-listener-4/
    
    ...
    
      DB<108> 'nonsense' ~~ @array
     => ""
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-03-28 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found