Paketname | libmoosex-role-parameterized-perl |
Beschreibung | Perl module to manage parameterized roles in Moose |
Archiv/Repository | Offizielles Ubuntu Archiv lucid (universe) |
Version | 0.15-1 |
Sektion | universe/perl |
Priorität | optional |
Installierte Größe | 144 Byte |
Hängt ab von | perl, libmoose-perl (>= 0.78) |
Empfohlene Pakete | |
Paketbetreuer | Ubuntu Developers |
Quelle | |
Paketgröße | 30236 Byte |
Prüfsumme MD5 | 9b0ba48a94bce49788140e97c7afe292 |
Prüfsumme SHA1 | 2a810b4c40186b9b14e1047806bef4702097a252 |
Prüfsumme SHA256 | 4c8d3047eefb2307f35b8dedacccdbe18c09304a76057857c157b7084b4c030a |
Link zum Herunterladen | libmoosex-role-parameterized-perl_0.15-1_all.de |
Ausführliche Beschreibung | MooseX::Role::Parameterized 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.
|