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.
Comment on
Re: given/when in Perl 6
In Section
Meditations