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

Re: Initial hack at 'builtin::' namespace

Thread Previous | Thread Next
From:
Yuki Kimoto
Date:
December 15, 2021 22:55
Subject:
Re: Initial hack at 'builtin::' namespace
Message ID:
CAExogxPjM2gxdmco5p2bUnqdQv1mMS1NCrmNrVj4JZxuV_2LsA@mail.gmail.com
2021-12-16 2:52 Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> wrote:

> On Mon, 22 Nov 2021 08:38:31 +0900
> Yuki Kimoto <kimoto.yuki@gmail.com> wrote:
>
> > Personally, in the next step, I want to see builtin.pm work correctly
> > as a dual life module,
> >
> > because I want to check if that old Perl calls the functions of the
> > builtin.pm module.
>
> Yes, once there's a development release including this (which I expect
> will be 5.35.8 due in just a few days now), I'll take a look at what
> can be done to dual-life this as a concept.
>
> It will require making a brand new distribution with a new .xs file.
> There may be possibility to reüse the current .pm file or that may need
> creating as well.
>
> Once I have an initial version I'll take a look and see how much
> copy-pasting I had to do to make it work, and whether some of that can
> be automated into some sort of autogeneration system to avoid needing
> to keep the two separate files in sync manually.
>
>
>
Thank you.

If dual-life builtin.pm is created at 5.35.8, I will test it in my local
environment.

Personally, I want to use trim or slurp on my CPAN module if the functions
are implemented in builtin.pm.

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