BSD Ports

devel/p5-UNIVERSAL-moniker 0.08_1 MidnightBSD

Moniker for classes

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl
Categories
devel, perl5

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/p5-UNIVERSAL-moniker0.08_1 newestno data-[email protected]-
FreeBSDdevel/p5-UNIVERSAL-moniker0.08_1 newestnone known-[email protected]-
NetBSDdevel/p5-UNIVERSAL-moniker0.08nb20 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-UNIVERSAL-moniker0.08_1 newestnone known-[email protected]-
HardenedBSDdevel/p5-UNIVERSAL-moniker0.08_1 newestno data-[email protected]-
GhostBSDdevel/p5-UNIVERSAL-moniker0.08_1 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install p5-UNIVERSAL-moniker

From mports:

cd /usr/mports/devel/p5-UNIVERSAL-moniker && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-UNIVERSAL-moniker>0:devel/p5-UNIVERSAL-moniker

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.

Dependencies

Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%PERL5_MAN3%%/UNIVERSAL::moniker.3.gz
  • %%SITE_PERL%%/UNIVERSAL/moniker.pm
distinfo 1
FileSizeSHA256
UNIVERSAL-moniker-0.08.tar.gz258494ce27a546cd57cb52e080a8f2533a7cc2350028388582485bd1039a37871f9c
Master sites 1
  • CPAN