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

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

Thread Previous | Thread Next
December 18, 2015 10:50
Re: Proposal: Add {-as => 'new_name'} feature to
Message ID:
On 18 December 2015 at 06:22, Zefram <> wrote:
> Chad Granum wrote:
>>The problem is that it is very hard to do on the importing side. Once a sub
>>is entered into your namespace it is hard to undefine it.
> That would be a silly way to do it.  The sensible way is to first import
> into a scratch package (via the exporter, using standard names), then
> the import-side code can import from the scratch package into the caller
> package under a different name.

Im sorry. But  I dont agree with you at all that this is the sensible
way to do this. I think Chads proposal is infinitely saner than what
you just said.


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