devel/p5-Class-Singleton 1.6 MidnightBSD
Perl module that describes a singular object class
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- artistic, gpl+
- Categories
- devel, perl5
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 |
|---|---|---|
| MidnightBSD | 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 |
| DragonFly | 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:
mport install p5-Class-Singleton
From mports:
cd /usr/mports/devel/p5-Class-Singleton && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Class-Singleton>0:devel/p5-Class-Singleton
Dependencies
Required by 2
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Class/Singleton.pm
- %%PERL5_MAN3%%/Class::Singleton.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Class-Singleton-1.6.tar.gz | 16164 | 27ba13f0d9512929166bbd8c9ef95d90d630fc80f0c9a1b7458891055e9282a4 |
Master sites 1
- CPAN