develooper Front page | perl.perl5.porters | Postings from February 2021

Re: Do we want a CXt_CUSTOM?

Thread Previous | Thread Next
Paul "LeoNerd" Evans
February 8, 2021 18:27
Re: Do we want a CXt_CUSTOM?
Message ID:
On Mon, 8 Feb 2021 16:23:08 +0000
Dave Mitchell <> wrote:

> On Wed, Feb 03, 2021 at 10:56:34PM +0000, Paul "LeoNerd" Evans wrote:
> > I would like to propose adding a CXt_CUSTOM
> > type as number 15 (leaving space for two more still).  
> This would be for general XS use, not just for by core?

Indeed it would. E.g. currently I have a lot of code in some CPAN
modules (Syntax::Keyword::Try, and would need to add similar to
Syntax::Keyword::Finally), to handle the return/goto/next/last/redo
cases, which could all become a lot shorter if such modules had that
feature available to them.

Admittedly it's unlikely to be useful in SKT's case because that's
being migrated into core *anyway*, but I am thinking ahead to "the next
one", whatever it may be.

Paul "LeoNerd" Evans      |  |

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