develooper Front page | perl.perl5.porters | Postings from January 2017

Re: [perl #113938] sort{goto}

Thread Previous
January 23, 2017 22:39
Re: [perl #113938] sort{goto}
Message ID:
I've fixed the multicalled-sub case in

The original sort-block case is trickier.  Deferring the
exiting-pseudo-block test is easy, but actually performing the label
search at the top level of the sort block is impeded by the fact that the
context stack entry doesn't include an appropriate op pointer to identify
the start of the sort block.  One could be added as part of the CXt_NULL
behaviour, or we could invent a new CXt_SORTBLOCK type that includes
such a pointer, but each of these approaches has API implications.
I think they're precluded at the present phase of the development cycle.


Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About