On Monday 26 Jul 2010 22:31:24 Ovid 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.  For example, if you want a upload a role which serializes
> things to YAML, you might call it "Does::Serialize::YAML" to make it clear
> it's a role to be consumed and not a stand-alone package.
> 
> Thoughts?
> 

Due to the fact Moose roles are used with the word 'with', it feels a little
bit weird to say something like:

    package Car;
    use Moose;
    with 'Does::AutoPilot';

Although there is no reason not to make a keyword 'which' for that matter.


Reply via email to