develooper Front page | perl.perl6.stdlib | Postings from June 2002

Re: More 6PAN musings: local namespaces

Thread Previous | Thread Next
From:
John Siracusa
Date:
June 18, 2002 16:00
Subject:
Re: More 6PAN musings: local namespaces
Message ID:
B9353316.3D622%siracusa@mindspring.com
On 6/18/02 6:10 PM, Damian Conway wrote:
> Larry has previously mentioned the prospect of Perl 6 module names being
> extended to include version number and author.
> 
> If this were to be done, would seem reasonable for the "author" component to
> simply be the author's CPAN username. These are guaranteed unique, are
> frequently mnemonic, are necessary prerequisites for putting a module on the
> CPAN in any case, and also map straight onto email addresses through which
> authors can be contacted.

That's fine for what it is, but I don't think it has the right granularity
for the problem I described in my original post.  If Acme wants to create
custom Acme modules in-house and ensure that they will play well with
modules from anyplace else, they can't very well rely on a CPAN author name
to isolate their namespace.  So they're back to making up their own
convention under Local:: (and risking conflicts with other companies that
try to do the same), or using Acme:: (whoops!  CPAN conflict!), etc.

-John


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