BSD Ports

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

SystemPortVersion
MidnightBSDdevel/p5-Class-Singleton1.6
FreeBSDdevel/p5-Class-Singleton1.6
OpenBSDdevel/p5-Class-Singleton1.6
NetBSDdevel/p5-Class-Singleton1.6nb6
DragonFlydevel/p5-Class-Singleton1.6
HardenedBSDdevel/p5-Class-Singleton1.6
GhostBSDdevel/p5-Class-Singleton1.6
OPNsensedevel/p5-Class-Singleton1.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

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
FileSizeSHA256
Class-Singleton-1.6.tar.gz1616427ba13f0d9512929166bbd8c9ef95d90d630fc80f0c9a1b7458891055e9282a4
Master sites 1
  • CPAN