Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 cooling their heels in the Monastery: (5)
As of 2014-12-19 02:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (70 votes), past polls