| 1 | Source: libclass-default-perl |
| 2 | Maintainer: Debian Perl Group <[email protected]> |
| 3 | Uploaders: Allard Hoeve <[email protected]>, |
| 4 | gregor herrmann <[email protected]> |
| 5 | Section: perl |
| 6 | Testsuite: autopkgtest-pkg-perl |
| 7 | Priority: optional |
| 8 | Build-Depends: debhelper-compat (= 13), libmodule-install-perl |
| 9 | Build-Depends-Indep: perl |
| 10 | Standards-Version: 3.9.8 |
| 11 | Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libclass-default-perl |
| 12 | Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libclass-default-perl.git |
| 13 | Homepage: https://metacpan.org/release/Class-Default |
| 14 | |
| 15 | Package: libclass-default-perl |
| 16 | Architecture: all |
| 17 | Depends: ${misc:Depends}, |
| 18 | ${perl:Depends} |
| 19 | Multi-Arch: foreign |
| 20 | Description: Perl module to make static calls apply to a default instantiation |
| 21 | Class::Default provides a mechanism to allow your class to take static method |
| 22 | calls and apply it to a default instantiation of an object. It provides a |
| 23 | flexibility to an API that allows it to be used more comfortably in |
| 24 | different situations. |
| 25 | . |
| 26 | This technique appears to be especially useful when writing modules that you |
| 27 | want to be used in either a single use or a persistent environment. In a CGI |
| 28 | like environment, you want the simplicity of a static interface. You can |
| 29 | call Class->method directly, without having to pass an instantiation |
| 30 | around constantly. |