in reply to
Re^2: Perl 5.10: switch statement demo
in thread Perl 5.10: switch statement demo
I guess that's kind of my point. The really useful and powerful things in todays computing industry like Perl, UNIX, even RISC processors all merely provide you with a basic set of tools and rely on you (the user) to put the simple tools together to make a useful mechanism.
Stuff like adding a named "switch" statement or needing a "when" keyword just complicates it unnecessarily IMO.
I had a discussion about this with an Oracle DBA. Needless to say we maintained our differences of opinion.
"The three principal virtues of a programmer are Laziness, Impatience, and Hubris. See the Camel Book for why." -- `man perl`