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

Re: Comparing a value to a list of numbers (in via hash)

by LanX (Cardinal)
on Jan 29, 2021 at 16:52 UTC ( #11127647=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     DB<28> %in = map { $_ => 1 } 1,2,5,6,9,10,41..56
    
    ...
     DB<30> p $in{0}
    
     DB<31>
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2021-06-13 10:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (54 votes). Check out past polls.

    Notices?