Fergal Daly <fer...@esatclear.ie> writes: > BTW, python gets this right > > from Foo.Bar import Buzz > ... > Buzz.ThatThingIWanted > > no danger of name clashes (you can import Buzz as some other name if > there's another Buzz to import) and when reading the code, you know > where every symbol originates. I started implementing this for Perl so > that you could do > > use from Foo::Bar import Buzz; > > Buzz->ThatThingIWanted
Did you already have a look at aliased.pm? http://search.cpan.org/~ovid/aliased/lib/aliased.pm Not sure it's what you want as you seem to have already thought deeper on this. Kind regards, Steffen -- Steffen Schwigon <s...@renormalist.net>