Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: given/when in Perl 6

by Elian (Parson)
on Mar 03, 2003 at 18:33 UTC ( #240114=note: print w/ replies, xml ) Need Help??


in reply to given/when in Perl 6
in thread There's a level in Hell reserved for ________

given/when is a switch on steroids. Rather than C's rather anemic "check against an integer value", it provides full smart matching semantics, very much like Damian's Switch module, on which it's based.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (11)
As of 2016-08-26 15:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (372 votes). Check out past polls.