freebsd-ports/devel/p5-Class-BlackHole/pkg-descr
Sergey Skvortsov dac36dde5b 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>
2002-05-27 07:58:29 +00:00

13 lines
332 B
Plaintext

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