On Mon, Jul 26, 2010 at 2:32 PM, Ovid <[email protected]> wrote:
> I'm thinking about writing a module which is merely a role (Moose::Role) which
> one must consume.  While there doesn't appear to be a standard for this, I was
> thinking about trying to set a precedent and use the Does:: namespace.
> ...
> Thoughts?

I think the idea is fundamentally a bad one, by extension of the
reason that MooseX:: used for modules employing Moose is a bad idea.
Roles made for use by third parties most probably have nothing in
common with each other. And, arbitrary picking out Moose, a mere
dependency, seems like a bad method of uniting them under a namespace.
I fear that Roles a functionality so general and encompassing would
just set a trend that would, in due time, migrate half of CPAN to
`Does::` or whatever.

And, in other news, there are a few Moose Roles published in random
namespaces as is.. I've done a few myself, as in DateTimeX::Format
(made to set up an interface for future DateTime::Format modules):

http://search.cpan.org/~ecarroll/DateTimeX-Format-1.03/lib/DateTimeX/Format.pm

-- 
Evan Carroll - [email protected]
System Lord of the Internets
http://www.evancarroll.com

Reply via email to