in reply to Re^5: How does 'goto LABEL' search for its label?
in thread How does 'goto LABEL' search for its label?
Moritz showed a jump into a "construct" (an if block) w/o deprecation warning.
Its is optimized away , optimization before warning -- it is still deprecated
So which blocks
all of them -- if some aren't, its a warnings bug (maybe), not something that was forgotten to be deprecated
I hope you are aware that many kinds of loops are not foreach -loops.
Anything with a { bare block } is a loop and is deprecated
perl -wE " { L1: say 1; } goto L1; "
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: How does 'goto LABEL' search for its label?
by LanX (Saint) on Jan 17, 2013 at 00:30 UTC | |
by Anonymous Monk on Jan 17, 2013 at 01:39 UTC |