Now, that's at least something that I couldn't have done without having goto available to me.Statement modifiers don't introduce a scope either, so I don't see why you couldn't have written:
Note that I don't mind uses of goto or that I think you should have written your code using my line. It's just the "couldn't have done without goto" that made me curious.local *{$_} = $handler{$_} for keys %handler;
In reply to Re: A useful use of goto
by JavaFan
in thread A useful use of goto
by Corion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |