develooper Front page | perl.perl5.porters | Postings from September 2010

[perl #29238] exiting eval via last

From:
Father Chrysostomos via RT
Date:
September 26, 2010 12:25
Subject:
[perl #29238] exiting eval via last
Message ID:
rt-3.6.HEAD-5116-1285529093-1707.29238-15-0@perl.org
There is no way this behaviour is going to change now. Too much code
uses it. (In fact, I sometimes use it in callback routines to bypass
exception-handling in the module the callback is passed to.)

I think the warning about exiting via last when last ends up dying
should still stay, as such a construct, without an explicit ‘no warnings
'exiting'’, is probably a bug.

I’m marking this as rejected and ‘wontfix’ unless someone convinces me
otherwise.




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About