devel/p5-Class-Singleton 1.6nb6 NetBSD
Perl module to implement Singleton classes
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- devel, perl5
- Package size
- 9.6 KiB, 23.9 KiB installed
Description
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 |
|---|---|---|
| NetBSD | devel/p5-Class-Singleton | 1.6nb6 |
| FreeBSD | devel/p5-Class-Singleton | 1.6 |
| OpenBSD | devel/p5-Class-Singleton | 1.6 |
| DragonFly | devel/p5-Class-Singleton | 1.6 |
| 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:
pkgin install p5-Class-Singleton
From pkgsrc:
cd /usr/pkgsrc/devel/p5-Class-Singleton && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.6nb6 |
| NetBSD 10.1 aarch64 | 1.6nb5 |
| SmartOS / illumos x86_64 | 1.6nb6 |
| macOS 15 arm64 | 1.6nb6 |