wok view perl-class-singleton/description.txt @ rev 25507

plop: cleanup
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 11 10:36:59 2023 +0000 (16 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.