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

[perl #119943] RFE: localized state of $_ should carry across goto ⊂

From:
Aaron Crane via RT
Date:
September 29, 2013 20:49
Subject:
[perl #119943] RFE: localized state of $_ should carry across goto ⊂
Message ID:
rt-3.6.HEAD-31239-1380487780-1084.119943-15-0@perl.org
To summarise the existing responses to this ticket: having "goto &foo" retain local-izations is 
incompatible with its entire raison d'ĂȘtre.  That's because "local" must save the data to be 
restored, and such saving would necessarily defeat the goal of having "goto &foo" delete the call 
frame of the routine that does it.

I'm therefore resolving this ticket as "rejected".

-- 
Aaron Crane ** http://aaroncrane.co.uk/


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=119943



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