1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
Source: libclass-data-accessor-perl
Section: perl
Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Build-Depends: debhelper (>= 5),
Build-Depends-Indep: perl (>= 5.8.0-7), libmodule-build-perl, libtest-pod-perl, libtest-pod-coverage-perl
Uploaders: Krzysztof Krzyzaniak (eloy) <eloy@debian.org>, gregor herrmann <gregor+debian@comodo.priv.at>
Standards-Version: 3.7.3
Homepage: http://search.cpan.org/dist/Class-Data-Accessor/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libclass-data-accessor-perl/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-data-accessor-perl/
Package: libclass-data-accessor-perl
Architecture: all
Depends: ${perl:Depends}, ${misc:Depends},
Description: 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;
|