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

Re: var comparison

by bduggan (Pilgrim)
on Sep 10, 2012 at 01:37 UTC ( #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')) ...


Comment on Re: var comparison
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2014-07-13 00:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (242 votes), past polls