develooper Front page | perl.perl5.porters | Postings from August 2023

Re: PPC Elevator Pitch for Perl::Types

Thread Previous | Thread Next
From:
Karen Etheridge
Date:
August 22, 2023 17:43
Subject:
Re: PPC Elevator Pitch for Perl::Types
Message ID:
CAPJsHfB6qBsvHERxj768FqQFX-ytb99aKbTWdi_Yjote2cgvJg@mail.gmail.com
On Tue, Aug 22, 2023 at 9:48 AM Oodler 577 via perl5-porters <
perl5-porters@perl.org> wrote:

> Yes, it uses a source filter to start. Lots of things use source filters,
> just like lots of things other parts of Perl. Short of carrying along
> patches to core, I am not sure how you would really hook into the process
> here.
> ...
> Fair enough. I'd like to ask, what recourse do we have to hook into the
> perl
> interpreter in the way that we are, if not to use the limited options
> present
> in perl? Criticizing source filters and any mention of tie is not fair
> because
> that's all we have. The alternative is also not feasible or fair. So what
> do you suggest we do here?
>

I wonder if you are not aware of the keyword plugging system, available
since 5.14?
It's used extensively by modules like List::Keywords and Object::Pad as
ways to prototype new functionality that could eventually be brought into
core (and indeed some of it has been, e.g. via Corinna).

Thread Previous | Thread Next


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