No such thing as a small change | |
PerlMonks |
Re: Perl 5.10: switch statement demoby jdporter (Chancellor) |
on Dec 19, 2007 at 20:26 UTC ( [id://657968]=note: print w/replies, xml ) | Need Help?? |
That doesn't look like a particularly apt illustration of given/when anyway, since it completely circumvents given's smart matching. It certainly doesn't look any better than which, as you pointed out, DWYM in this case, while given/when doesn't.
A word spoken in Mind will reach its own level, in the objective world, by its own weight
In Section
Seekers of Perl Wisdom
|
|