devel/p5-Universal-moniker 0.08p2 OpenBSD
Perl module for aliasing class names
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- 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.
Install
Binary package:
pkg_add p5-Universal-moniker
From the ports tree:
cd /usr/ports/devel/p5-Universal-moniker && make install
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.