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

[perl #29238] exiting eval via last

Father Chrysostomos via RT
September 26, 2010 12:25
[perl #29238] exiting eval via last
Message ID:
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. Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About