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

Re: PPC Elevator Pitch for Perl::Types

Thread Previous | Thread Next
Karen Etheridge
August 22, 2023 17:43
Re: PPC Elevator Pitch for Perl::Types
Message ID:
On Tue, Aug 22, 2023 at 9:48 AM Oodler 577 via perl5-porters <> 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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About