Front page | perl.moose |
Postings from September 2011
From: Stevan Little
September 19, 2011 06:21
Message ID: BF2C9D1B-762B-41BC-8AC1-9B6D833248D5@iinteractive.com
Actually it seems that most of the MooseX::Role modules (http://search.cpan.org/search?query=MooseX::Role&mode=all) are not that.
Some of them do extend the Role API, but most seem to provide some level of basic features that can be mixed into an object. In some cases this is an inappropriate use of the MooseX::Role namespace and in others I think it straddles the line. For instance, MooseX::Role::TraitsConstructor is not extending the Role API, but I am not sure that would make sense to be named anything different.
I think really it depends on what exactly Ian's module does here.
Ian, care to share the code?
On Sep 19, 2011, at 9:07 AM, Richard Simões wrote:
> I think a MooseX::Role::* module would be generally understood to be
> an extension of the Moose role API. Thus an actual role offered up on
> CPAN wouldn't have "Role" in its namespace.
> Richard Simões
> On Mon, Sep 19, 2011 at 8:01 AM, <Ian.Docherty@nomura.com> wrote:
>> I have written a new module along the lines of FSA::Rules, only as a Moose Role.
>> Is it convention that Moose Roles are in the MooseX::Role namespace so I would call the module MooseX::Role::FSA::Simple, or can I call it MooseX::FSA::Simple?
>> This e-mail (including any attachments) is confidential, may contain
>> proprietary or privileged information and is intended for the named
>> recipient(s) only. Unintended recipients are prohibited from taking action
>> on the basis of information in this e-mail and must delete all copies.
>> Nomura will not accept responsibility or liability for the accuracy or
>> completeness of, or the presence of any virus or disabling code in, this
>> e-mail. If verification is sought please request a hard copy. Any reference
>> to the terms of executed transactions should be treated as preliminary only
>> and subject to formal written confirmation by Nomura. Nomura reserves the
>> right to monitor e-mail communications through its networks (in accordance
>> with applicable laws). No confidentiality or privilege is waived or lost by
>> Nomura by any mistransmission of this e-mail. Any reference to "Nomura" is
>> a reference to any entity in the Nomura Holdings, Inc. group. Please read
>> our Electronic Communications Legal Notice which forms part of this e-mail: