blob: 1d2df1d6750990a8562a93b35beb94539415c6b0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
** If you are unfamiliar with testing read Test::Tutorial first! **
This is a simple, basic module for checking whether a class is a Singleton. 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,
or any kind of central dispatcher.
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/Test-Singleton
|