Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^5: How does 'goto LABEL' search for its label?

by LanX (Bishop)
on Jan 16, 2013 at 21:46 UTC ( #1013653=note: print w/replies, xml ) Need Help??


in reply to Re^4: How does 'goto LABEL' search for its label?
in thread How does 'goto LABEL' search for its label?

Constructs that require initialization such as a subroutine or a foreach loop can't be deprecated now because they never worked.

Moritz showed a jump into a "construct" (an if block) w/o deprecation warning.

So which blocks or "pieces of syntax made up of smaller pieces" exactly do belong to that set of now deprecated "constructs" is not defined within the perldocs.

I hope you are aware that many kinds of loops are not foreach -loops.

Cheers Rolf

Replies are listed 'Best First'.
Re^6: How does 'goto LABEL' search for its label?
by Anonymous Monk on Jan 16, 2013 at 23:52 UTC

    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; "
      Bla!

      All you said is either obviously wrong, contradictory to what you claimed earlier or not new.

      I'm tired of this, AnoMonk...

      Cheers Rolf

        Bla!

        All you said is either obviously wrong, contradictory to what you claimed earlier or not new.

        I'm tired of this, AnoMonk...

        *sigh*

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1013653]
help
Chatterbox?
[Corion]: I've started that again this month (now forever instead of a limited time), and it already destresses me a lot
[holli]: There are Anti Vaxxer weeks at IKEA.
[Corion]: Of course, it's a 20% cut in the money I receive, while the work doesn't necessarily reduce at all, but my approach is to make the work take longer instead of fitting 5 days worth of work into 4
[holli]: 50% off all children coffins.
[Corion]: holli: Ooof :)
[hippo]: Cut should beless than 20% after tax, though. :-)
[Corion]: hippo: Yeah, but at least two years ago, it still was close enough to 20% cut
[Corion]: But I have a very positive experience with a four day workweek and a three day weekend. I can't easily go back though to full money.
[Corion]: That is easy without having to pay for a house, a wife or children though. If I had any of these, or any two of these, the decision wouldn't be that easy.

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2017-09-21 15:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (249 votes). Check out past polls.

    Notices?