[ Bron: libclass-data-accessor-perl ]
Pakket: libclass-data-accessor-perl (0.04004-4)
Verwijzigingen voor libclass-data-accessor-perl
Debian bronnen:
Het bronpakket libclass-data-accessor-perl downloaden:
- [libclass-data-accessor-perl_0.04004-4.dsc]
- [libclass-data-accessor-perl_0.04004.orig.tar.gz]
- [libclass-data-accessor-perl_0.04004-4.debian.tar.xz]
Beheerders:
Externe bronnen:
- Homepage [metacpan.org]
Vergelijkbare pakketten:
- libclass-accessor-class-perl
- libclass-accessor-perl
- libobject-accessor-perl
- libclass-accessor-lvalue-perl
- libclass-accessor-named-perl
- libclass-accessor-chained-perl
- libobject-container-perl
- libclass-accessor-children-perl
- libclass-accessor-grouped-perl
- libclass-singleton-perl
- liblexical-accessor-perl
Inheritable, overridable class and instance data accessor creation
Class::Data::Accessor is the marriage of Class::Accessor and Class::Data::Inheritable into a single module. It is used for creating accessors to class properties that is overridable in subclasses as well as in class instances.
For example:
Pere::Ubu->mk_classaccessor('Suitcase');
will generate the method Suitcase() in the class Pere::Ubu.
This new method can be used to get and set a piece of class property.
Pere::Ubu->Suitcase('Red'); $suitcase = Pere::Ubu->Suitcase;
Andere aan libclass-data-accessor-perl gerelateerde pakketten
|
|
|
|
-
- dep: perl
- Larry Wall's Practical Extraction and Report Language