Re: More 6PAN musings: local namespaces

[email protected] (Dan Sugalski) Sun, 16 Jun 2002 21:26:28 -0400
Newsgroups perl.perl6.stdlib,perl.perl6.language
Message-ID <a05111b00b932eaad9d53@[63.120.19.221]>
At 6:10 PM -0700 6/16/02, Peter Scott wrote:
>It would be nice if one could say
>
>         use Foo::Bar as Local::Foo::Bar
>
>as a way of expressing your proposal.

The one problem with that is modules that have multiple namespaces in 
them. It's not too unusual for Foo.pm to have the packages Foo, 
Foo::Bar, Foo::Bar::Baz, and Foo::Xyzzy in them. Which can 
potentially lead to some interesting namespacing issues.
-- 
                                         Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[email protected]                         have teddy bears and even
                                       teddy bears get drunk