wok-6.x view perl-class-singleton/description.txt @ rev 25539
Up perl-test-compile (3.1.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 09 12:11:13 2023 +0000 (18 months ago) |
parents | |
children |
line source
1 This is the Class::Singleton module.
2 A Singleton describes an object class that can have only one
3 instance in any system.
4 An example of a Singleton might be a print spooler or system
5 registry.
6 This module implements a Singleton class from which other
7 classes can be derived. By itself, the Class::Singleton module
8 does very little other than manage the instantiation of a
9 single object. In deriving a class from Class::Singleton,
10 your module will inherit the Singleton instantiation method and
11 can implement whatever specific functionality is required.