[ 原始碼: libclass-data-accessor-perl ]
套件:libclass-data-accessor-perl(0.04004-2)
libclass-data-accessor-perl 的相關連結
Debian 的資源:
下載原始碼套件 libclass-data-accessor-perl:
- [libclass-data-accessor-perl_0.04004-2.dsc]
- [libclass-data-accessor-perl_0.04004.orig.tar.gz]
- [libclass-data-accessor-perl_0.04004-2.debian.tar.xz]
維護小組:
外部的資源:
- 主頁 [metacpan.org]
相似套件:
- 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;
其他與 libclass-data-accessor-perl 有關的套件
|
|
|
|
-
- dep: perl
- Larry Wall's Practical Extraction and Report Language