The devel/p5-Class-Singleton port
p5-Class-Singleton-1.6 – perl singleton pattern (cvsweb github mirror)
Description
A Singleton describes an object class that can have only one instance in any system. This module implements a Singleton class from which other classes can be derived. By itself, the Class::Singleton module does very little other than manage the instantiation of a single object. In deriving a class from Class::Singleton, your module will inherit the Singleton instantiation method and can implement whatever specific functionality is required. For a description and discussion of the Singleton class, see "Design Patterns", Gamma et al, Addison-Wesley, 1995, ISBN 0- 201-63361-2.WWW: https://metacpan.org/release/Class-Singleton
Maintainer
The OpenBSD ports mailing-list
Categories
Files
- /usr/local/libdata/perl5/site_perl/Class/
- /usr/local/libdata/perl5/site_perl/Class/Singleton.pm
- /usr/local/man/man3p/Class::Singleton.3p