blob: 63c06c82422f2527c6fd87811ebf9a402c0e3ff4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
This is the Class::Singleton module. A Singleton describes an
object class that can have only one instance in any system. An
example of a Singleton might be a print spooler or system
registry. 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.
Author: Andy Wardley <abw@cre.canon.co.uk>
--will
|