Extend last to accept labels
last already accepts labels.
implement "post loop switch"
That's horrible. Noone uses continue since it doesn't give access to the lexical vars of the loop, and this suffers from the same problem.
See Donald Knuth Structured Programming with go to Statements programming with goto statements
Perl already has a goto statement.
That said, while I use goto regularly in C, there's no reason to use it in Perl.
In reply to Re: What esteemed monks think about changes necessary/desirable in Perl 7 outside of OO staff
by ikegami
in thread What esteemed monks think about changes necessary/desirable in Perl 7 outside of OO staff
by likbez
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |