RECENT POSTS

P5-test-singleton

May 26, 2018

Test for Singleton classes

** If you are unfamiliar with testing read TestTutorial 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 http//search.cpan.org/dist/Test-Singleton/