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

Re: Initial hack at 'builtin::' namespace

Thread Previous | Thread Next
From:
Paul "LeoNerd" Evans
Date:
December 15, 2021 17:51
Subject:
Re: Initial hack at 'builtin::' namespace
Message ID:
20211215175105.33ec0a56@shy.leonerd.org.uk
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.

-- 
Paul "LeoNerd" Evans

leonerd@leonerd.org.uk      |  https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/  |  https://www.tindie.com/stores/leonerd/

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