devel/p5-UNIVERSAL-moniker 0.08_1 DragonFly
Moniker for classes
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 6.3 KiB, 10.3 KiB installed
Description
Class names in Perl often don't sound great when spoken, or look good when written in prose. For this reason, we tend to say things like "customer" or "basket" when we are referring to My::Site::User::Customer or My::Site::Shop::Basket. We thought it would be nice if our classes knew what we would prefer to call them.
This module will add a moniker (and plural_moniker) method to UNIVERSAL, and so to every class or module.
So, if $ob->isa("Big::Scary::Animal"), moniker will return "animal"; $ob->isa("Cephalopod::Octopus"), plural_moniker will return "octopuses".
In the other systems
The newest version among them is 0.08, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/p5-UNIVERSAL-moniker | 0.08_1 newest | none known | - | [email protected] | - |
| FreeBSD | devel/p5-UNIVERSAL-moniker | 0.08_1 newest | none known | - | [email protected] | - |
| NetBSD | devel/p5-UNIVERSAL-moniker | 0.08nb20 newest | none known | - | [email protected] | 2026-07-16 |
| MidnightBSD | devel/p5-UNIVERSAL-moniker | 0.08_1 newest | no data | - | [email protected] | - |
| HardenedBSD | devel/p5-UNIVERSAL-moniker | 0.08_1 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-UNIVERSAL-moniker | 0.08_1 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-UNIVERSAL-moniker
From DPorts:
cd /usr/dports/devel/p5-UNIVERSAL-moniker && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.