| 1 |
Source: libclass-singleton-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Uploaders: Ansgar Burchardt <[email protected]> |
| 4 |
Section: perl |
| 5 |
Testsuite: autopkgtest-pkg-perl |
| 6 |
Priority: optional |
| 7 |
Build-Depends: debhelper-compat (= 13) |
| 8 |
Build-Depends-Indep: perl |
| 9 |
Standards-Version: 4.5.1 |
| 10 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libclass-singleton-perl |
| 11 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libclass-singleton-perl.git |
| 12 |
Homepage: https://metacpan.org/release/Class-Singleton |
| 13 |
Rules-Requires-Root: no |
| 14 |
|
| 15 |
Package: libclass-singleton-perl |
| 16 |
Architecture: all |
| 17 |
Depends: ${misc:Depends}, |
| 18 |
${perl:Depends} |
| 19 |
Multi-Arch: foreign |
| 20 |
Description: implementation of a "Singleton" class |
| 21 |
The Class::Singleton module implements a Singleton class from which other |
| 22 |
classes can be derived. A Singleton describes an object class that can have |
| 23 |
only one instance in any system. An example of a Singleton might be a print |
| 24 |
spooler or system registry. |
| 25 |
. |
| 26 |
By itself, the Class::Singleton module does very little other than manage the |
| 27 |
instantiation of a single object. In deriving a class from Class::Singleton, |
| 28 |
your module will inherit the Singleton instantiation method and can implement |
| 29 |
whatever specific functionality is required. |
| 30 |
. |
| 31 |
For a description and discussion of the Singleton class, see |
| 32 |
"Design Patterns", Gamma et al, Addison-Wesley, 1995, ISBN 0-201-63361-2. |