develooper Front page | perl.perl5.porters | Postings from January 2016

[perl #127384] [PATCH] use Importer to enhance Exporter in blead

Thread Next
Chad Granum
January 27, 2016 04:08
[perl #127384] [PATCH] use Importer to enhance Exporter in blead
Message ID:
# New Ticket Created by  Chad Granum 
# Please include the string:  [perl #127384]
# in the subject line of all future correspondence about this issue. 
# <URL: >

Attached is a patch to perl blead. This patch brings in the Importer
distribution, and updates to use it for any feature beyond
basic sub exporting. This also updates a couple other files that needed to
be updated due to the changes.

Key things to note:

* Nothing existing needs to change.
* Exporter will still work for everything it has always worked for
* Nothing is required to start using Importer
* This introduces the { -as => 'new_name' } syntax discussed in another
* This puts it on the consumer of an exporter to list an Importer version
in their deps if they depend on a specific feature not available in old


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About