Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Comparing against multiple values

by larsen (Parson)
on Mar 18, 2002 at 19:29 UTC ( #152569=note: print w/replies, xml ) Need Help??


in reply to Comparing against multiple values

I think it could be a work for Quantum::Superpositions.
use Quantum::Superpositions; use strict; if ($foo eq any( $bar, $baz, $boo )) { print "Yep!"; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://152569]
help
Chatterbox?
and a soft breeze sighs...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2018-07-18 16:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (393 votes). Check out past polls.

    Notices?