in reply to Apocalypse 4 on perl.com
I thought the switch statement was completely cool until I saw
default. Ick. I'd like this much better:
given EXPR { when EXPR { ... } when EXPR { ... } ... otherwise { ... } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Apocalypse 4 on perl.com
by adamsj (Hermit) on Jan 19, 2002 at 07:10 UTC | |
by tilly (Archbishop) on Jan 22, 2002 at 04:58 UTC | |
by tye (Sage) on Jan 22, 2002 at 05:15 UTC | |
by Juerd (Abbot) on Jan 20, 2002 at 21:57 UTC | |
by scott (Chaplain) on Jan 20, 2002 at 21:15 UTC | |
|
Re^2: Apocalypse 4 on perl.com
by Aristotle (Chancellor) on Jan 20, 2002 at 13:43 UTC | |
by scott (Chaplain) on Jan 20, 2002 at 21:23 UTC | |
|
Perl 6 - A Better Switch-Case Default?
by metadoktor (Hermit) on Jan 26, 2002 at 16:54 UTC | |
by tilly (Archbishop) on Jan 27, 2002 at 22:04 UTC |