Name : perl-MooX-ClassAttribute
| |
Version : 0.011
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.1
| Date : 2017-05-28 14:00:00
|
Group : Development/Libraries/Perl
| Source RPM : perl-MooX-ClassAttribute-0.011-1.1.src.rpm
|
Size : 0.07 MB
| |
Packager : (none)
| |
Summary : declare class attributes Moose-style... but without Moose
|
Description :
This module adds support for class attributes to Moo. Class attributes are attributes whose values are not associated with any particular instance of the class.
For example, the \'Person\' class might have a class attribute \"binomial_name\"; its value \"Homo sapiens\" is not associated with any particular individual, but the class as a whole.
say Person->binomial_name; # \"Homo sapiens\" my $bob = Person->new; say $bob->binomial_name; # \"Homo sapiens\"
my $alice = Person->new; $alice->binomial_name(\"H. sapiens\"); say $bob->binomial_name; # \"H. sapiens\"
Class attributes may be defined in roles, however they cannot be called as methods using the role package name. Instead the role must be composed with a class; the class attributes will be installed into that class.
This module mostly tries to behave like MooseX::ClassAttribute.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/SLE_15/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
perl(Method::Generate::ClassAccessor)
perl(MooX::CaptainHook)
perl(MooX::CaptainHook::HandleMoose::Hack)
perl(MooX::CaptainHook::OnApplication)
perl(MooX::CaptainHook::OnApplication::Moose)
perl(MooX::CaptainHook::OnInflation)
perl(MooX::ClassAttribute)
perl(MooX::ClassAttribute)
perl(MooX::ClassAttribute::HandleMoose)
perl-MooX-ClassAttribute
Requires :