MooseX-Role-Parameterized
Moosex-role-parameterized
https://metacpan.org/release/MooseX-Role-Parameterized
Moose extension providing parameterized roles
MooseX::Role::Parameterized is a Moose extension that consists of two things: parameter declarations and a role block.
Parameters are declared using the "parameter" keyword which resembles Moose's "has", even supporting any option that "has" accepts. You can use any option that "has" accepts. The default value for the "is" option is read-only, as that's a very common case. These parameters will get their values when the consuming class (or role) uses Moose's "with". A parameter object will be constructed with these values, and passed to the role block.
Download
Categories
Licensing
License
Verified by
Verified on
Notes
License
Verified by
Debian: intrigeri <intrigeri@debian.org>
Verified on
27 August 2014
Notes
License: artistic or gpl-1+
Leaders and contributors
Contact(s) | Role |
---|---|
Karen Etheridge | contact |
Resources and communication
Audience | Resource type | URI |
---|---|---|
Perl (Ref) | https://metacpan.org/release/MooseX-Role-Parameterized | |
Debian (Ref) (R) | https://tracker.debian.org/pkg/libmoosex-role-parameterized-perl |
Software prerequisites
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.