Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: var comparison

by bduggan (Pilgrim)
on Sep 10, 2012 at 01:37 UTC ( [id://992645]=note: print w/replies, xml ) Need Help??


in reply to var comparison

You could also use Perl6::Junction (or Syntax::Keyword::Junction or Quantum::Superpositions), e.g.
use Perl6::Junction qw/any/; ... ($var eq any('foo','bar')) ...

Log In?
Username:
Password:

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

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

    No recent polls found