Skip Menu |
 

This queue is for tickets about the Scalar-List-Utils CPAN distribution.

Report information
The Basics
Id: 111466
Status: open
Priority: 0/
Queue: Scalar-List-Utils

People
Owner: leonerd-cpan [...] leonerd.org.uk
Requestors: JBERGER [...] cpan.org
Cc: stevan.little [...] gmail.com
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



CC: stevan.little [...] gmail.com
Download (untitled) / with headers
text/plain 311b
Sub::Current provides an xsub (ROUTINE) which if distributed as part of (core) Sub::Util would make an excellent polyfill for __SUB__ in pre-5.16 perls. I would suggest (if possible) to actually treat it as a polyfill, exporting the xsub as __SUB__ in those environments or enabling current_sub feature in 5.16+
Download (untitled) / with headers
text/plain 498b
Completely agree with Joel on this, it would be a nice feature and for very little effort since the code is already written. +1 On Wed Jan 27 15:18:07 2016, JBERGER wrote: Show quoted text
> Sub::Current provides an xsub (ROUTINE) which if distributed as part > of (core) Sub::Util would make an excellent polyfill for __SUB__ in > pre-5.16 perls. I would suggest (if possible) to actually treat it as > a polyfill, exporting the xsub as __SUB__ in those environments or > enabling current_sub feature in 5.16+
Download (untitled) / with headers
text/plain 406b
On Wed Jan 27 15:18:07 2016, JBERGER wrote: Show quoted text
> Sub::Current provides an xsub (ROUTINE) which if distributed as part > of (core) Sub::Util would make an excellent polyfill for __SUB__ in > pre-5.16 perls. I would suggest (if possible) to actually treat it as > a polyfill, exporting the xsub as __SUB__ in those environments or > enabling current_sub feature in 5.16+
Yup; that sounds good. -- Paul Evans


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.