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

Re: Proposal: Add {-as => 'new_name'} feature to Exporter.pm

Thread Previous | Thread Next
From:
Douglas Bell
Date:
December 18, 2015 18:04
Subject:
Re: Proposal: Add {-as => 'new_name'} feature to Exporter.pm
Message ID:
AE157B26-3A17-4486-8042-66EBAD8643EA@me.com

> On Dec 17, 2015, at 8:41 PM, Chad Granum <exodist7@gmail.com> wrote:
> 
> So, far the discussion has only been about a single line of code under the hood. Nobody has raised either concern or support for the feature...
> 

I support this as well. It would be nice if this could be handled at Exporter instead of having every import-handling code need to find some way to do it (as you demonstrate with Import::Into::As).

Doing it the way you have seems good for core, as it leaves things open for the future.
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