On Sat, Aug 05, 2000 at 05:09:28AM +1000, Damian Conway wrote: > Not necessary. > > switch ($val) { > case 3 { print "three"; goto odds } > case 4 { print "three"; goto evens } And "goto" could be spelt "next" too? That would make sense to me, but the semantics of "last odds" or "redo odds" escape me. Perhaps "last odds" would me "evaluate the block labeled by odds, then exit the switch" and "redo odds" would me "re-evaluate this case, then jump to the block labelled odds". -Scott -- Jonathan Scott Duff [EMAIL PROTECTED]
- Re: RFC 22 (v1) Builtin switch statem... Ken Fox
- Re: RFC 22 (v1) Builtin switch statem... Damian Conway
- Re: RFC 22 (v1) Builtin switch s... Jarkko Hietaniemi
- Re: RFC 22 (v1) Builtin swit... Chaim Frenkel
- Re: RFC 22 (v1) Builtin switch s... Chaim Frenkel
- Re: RFC 22 (v1) Builtin switch statement Damian Conway
- ConwayPerl (was Re: RFC 22 (v1) Builtin switc... Jeremy Howard
- Re: RFC 22 (v1) Builtin switch statement Bart Lateur
- RE: RFC 22 (v1) Builtin switch statement Lipscomb, Al
- RE: RFC 22 (v1) Builtin switch statement Damian Conway
- Re: RFC 22 (v1) Builtin switch statement Jonathan Scott Duff
- Re: RFC 22 (v1) Builtin switch statement Glenn Linderman
- Re: RFC 22 (v1) Builtin switch statement Damian Conway
- RE: RFC 22 (v1) Builtin switch statement Lipscomb, Al