| 1 | Source: libclass-data-accessor-perl |
| 2 | Maintainer: Debian Perl Group <[email protected]> |
| 3 | Uploaders: gregor herrmann <[email protected]> |
| 4 | Section: perl |
| 5 | Testsuite: autopkgtest-pkg-perl |
| 6 | Priority: optional |
| 7 | Build-Depends: debhelper-compat (= 13), libmodule-install-perl |
| 8 | Build-Depends-Indep: perl, |
| 9 | libtest-strict-perl, |
| 10 | libtest-pod-perl, |
| 11 | libtest-pod-coverage-perl |
| 12 | Standards-Version: 3.9.7 |
| 13 | Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libclass-data-accessor-perl |
| 14 | Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libclass-data-accessor-perl.git |
| 15 | Homepage: https://metacpan.org/release/Class-Data-Accessor |
| 16 | |
| 17 | Package: libclass-data-accessor-perl |
| 18 | Architecture: all |
| 19 | Depends: ${perl:Depends}, |
| 20 | ${misc:Depends} |
| 21 | Multi-Arch: foreign |
| 22 | Description: Inheritable, overridable class and instance data accessor creation |
| 23 | Class::Data::Accessor is the marriage of Class::Accessor and |
| 24 | Class::Data::Inheritable into a single module. It is used for creating |
| 25 | accessors to class properties that is overridable in subclasses as well as in |
| 26 | class instances. |
| 27 | . |
| 28 | For example: |
| 29 | . |
| 30 | Pere::Ubu->mk_classaccessor('Suitcase'); |
| 31 | . |
| 32 | will generate the method Suitcase() in the class Pere::Ubu. |
| 33 | . |
| 34 | This new method can be used to get and set a piece of class property. |
| 35 | . |
| 36 | Pere::Ubu->Suitcase('Red'); |
| 37 | $suitcase = Pere::Ubu->Suitcase; |