OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

p5-Class-Singleton-1.6

perl singleton pattern

Back to search · Project homepage

Description

A Singleton describes an object class that can have only one instance in any system. 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. For a description and discussion of the Singleton class, see "Design Patterns", Gamma et al, Addison-Wesley, 1995, ISBN 0- 201-63361-2.

Package information

Ports path
devel/p5-Class-Singleton
Package architecture
*
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
devel, perl5
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

None listed in sqlports.

Used by (6 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON