summaryrefslogtreecommitdiff
path: root/devel/p5-Class-BlackHole/pkg-descr
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2002-05-27 07:58:29 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2002-05-27 07:58:29 +0000
commitdac36dde5bfaf513ee26fefbf9f7f9c4feb2bf72 (patch)
treef9aca23ef0346e39ef35a545296509352a8a0a7b /devel/p5-Class-BlackHole/pkg-descr
parentRefresh list of MASTER_SITES. (diff)
Add p5-Class-BlackHole 0.03,
base class to treat unhandled method calls as no-ops. PR: 32965 Submitted by: Sergey Skvortsov <skv@FreeBSD.org>
Diffstat (limited to 'devel/p5-Class-BlackHole/pkg-descr')
-rw-r--r--devel/p5-Class-BlackHole/pkg-descr12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/p5-Class-BlackHole/pkg-descr b/devel/p5-Class-BlackHole/pkg-descr
new file mode 100644
index 000000000000..7184c2e2a376
--- /dev/null
+++ b/devel/p5-Class-BlackHole/pkg-descr
@@ -0,0 +1,12 @@
+Normally, if you try to call a method that there's no handler for, you
+get an error:
+
+ Can't locate object method "flork" via package "X".
+
+But for classes that inherit from Class::BlackHole, unhandled methods
+become just no-operations.
+
+WWW: http://search.cpan.org/search?dist=Class-BlackHole
+
+-- Sergey Skvortsov
+skv@FreeBSD.org