aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-UNIVERSAL-moniker/pkg-descr
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2003-09-02 09:22:02 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2003-09-02 09:22:02 +0000
commit82528edcce02a38368b4501c3d747480c759b3bf (patch)
tree171693771fa4a2958b5cc28d4f0138351e38ce11 /devel/p5-UNIVERSAL-moniker/pkg-descr
parentb5b9b18e9874698258a0f54630392f265056fe2c (diff)
downloadports-82528edcce02a38368b4501c3d747480c759b3bf.tar.gz
ports-82528edcce02a38368b4501c3d747480c759b3bf.zip
Notes
Diffstat (limited to 'devel/p5-UNIVERSAL-moniker/pkg-descr')
-rw-r--r--devel/p5-UNIVERSAL-moniker/pkg-descr16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/p5-UNIVERSAL-moniker/pkg-descr b/devel/p5-UNIVERSAL-moniker/pkg-descr
new file mode 100644
index 000000000000..014687091aed
--- /dev/null
+++ b/devel/p5-UNIVERSAL-moniker/pkg-descr
@@ -0,0 +1,16 @@
+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".
+
+WWW: http://search.cpan.org/dist/UNIVERSAL-moniker/
+
+-- Sergey Skvortsov
+skv@FreeBSD.org