A while ago [1] we discussed the idea of getting e.g.
use v5.40;
to imply
use builtin ':5.40';
so as to import all the stable builtins at that version. The discussion
got a bit derailed in the details of how to do lexical unimport, but I
believe all that is now resolved and we can get back to this.
Now we can do lexical unimport, and we have `no builtin ...` working, I
don't believe there were any significant reasons why not to do this.
The list generally seemed to be in favour on the overall reasons of
further reduced boilerplate, so I think I'm gonna go ahead and
implement this today. Expect a PR inbound..
[1]: https://www.nntp.perl.org/group/perl.perl5.porters/2023/08/msg266808.html
--
Paul "LeoNerd" Evans
leonerd@leonerd.org.uk | https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/ | https://www.tindie.com/stores/leonerd/
use v5.40;
to imply
use builtin ':5.40';
so as to import all the stable builtins at that version. The discussion
got a bit derailed in the details of how to do lexical unimport, but I
believe all that is now resolved and we can get back to this.
Now we can do lexical unimport, and we have `no builtin ...` working, I
don't believe there were any significant reasons why not to do this.
The list generally seemed to be in favour on the overall reasons of
further reduced boilerplate, so I think I'm gonna go ahead and
implement this today. Expect a PR inbound..
[1]: https://www.nntp.perl.org/group/perl.perl5.porters/2023/08/msg266808.html
--
Paul "LeoNerd" Evans
leonerd@leonerd.org.uk | https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/ | https://www.tindie.com/stores/leonerd/