You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If merged, it will add a new core function builtin::lexically_export, which will basically perform the exact same job as your XS code. At that point, it would be possible for your module to use that instead of its custom XS code, meaning it would be a pure-perl module on 5.37.2 onwards.
The text was updated successfully, but these errors were encountered:
@doy: Wanna start off by saying thanks for this module; it is the most elegant of the solutions available on CPAN, in my opinion.
@leonerd: That is a most excellent addition to core perl. I have changed my most recent project to use perl-5.37 because of it, so instrumental is it to my purposes. I don't know what your motivation for creating it was, but I have found it to be very useful for exporting a subroutine to another package for internal use, without it being available as a method. It is by far the simplest way I have found to segregate functions from methods. I am very grateful for this contribution.
A quick note to say you might be interested in the following core perl PR:
Perl/perl5#19895
If merged, it will add a new core function
builtin::lexically_export
, which will basically perform the exact same job as your XS code. At that point, it would be possible for your module to use that instead of its custom XS code, meaning it would be a pure-perl module on 5.37.2 onwards.The text was updated successfully, but these errors were encountered: