Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: How to check if a variable's value is equal to a member of a list of values

by dbuckhal (Pilgrim)
on Mar 26, 2013 at 21:29 UTC ( #1025589=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if( map { /$string/ } @array) {
    
  2. or download this
    if( grep { /$string/ } @array) {
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1025589]
help
Chatterbox?
[Lady_Aleena]: By the way, I'm bored out of my skull at the moment. And it just had to be Friday didn't it?

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2017-01-21 02:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (180 votes). Check out past polls.