develooper Front page | perl.perl5.porters | Postings from February 2009

Re: method names clash by importing: next step

Thread Previous
From:
Zefram
Date:
February 25, 2009 03:45
Subject:
Re: method names clash by importing: next step
Message ID:
20090225114517.GM16377@fysh.org
Vincent Pit wrote:
>I haven't followed all the discussions of this thread, but as for
>solving the original problem (imported subs hiding methods), you can use
>namespace::clean :

That's not a complete solution.  It means that imported/defined functions
are no longer in the symbol table, so name lookups at runtime won't
work.  It's also very sensitive to placement of the pragma, and so is
inconvenient to use.

-zefram

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About