devel/p5-Class-Singleton 1.6 DragonFly
Perl module that describes a singular object class
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 11.7 KiB, 23.5 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/p5-Class-Singleton | 1.6 |
| FreeBSD | devel/p5-Class-Singleton | 1.6 |
| OpenBSD | devel/p5-Class-Singleton | 1.6 |
| NetBSD | devel/p5-Class-Singleton | 1.6nb6 |
| MidnightBSD | devel/p5-Class-Singleton | 1.6 |
| HardenedBSD | devel/p5-Class-Singleton | 1.6 |
| GhostBSD | devel/p5-Class-Singleton | 1.6 |
| OPNsense | devel/p5-Class-Singleton | 1.6 |
Install
Binary package:
pkg install p5-Class-Singleton
From DPorts:
cd /usr/dports/devel/p5-Class-Singleton && make install clean