1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/devel/p5-Class-WhiteHole/pkg-descr
Sergey Skvortsov 5f56b42ed9 Add p5-Class-WhiteHole 0.03,
base class to treat unhandled method
calls as errors.

PR:		32967
Submitted by:	Sergey Skvortsov <skv@FreeBSD.org>
2002-05-27 08:10:43 +00:00

14 lines
491 B
Plaintext

Its possible to accidentally inherit an AUTOLOAD method. Often this
will happen if a class somewhere in the chain uses AutoLoader or defines
one of their own. This can lead to confusing error messages when method
lookups fail.
Sometimes you want to avoid this accidental inheritance. In that case,
inherit from Class::WhiteHole. All unhandled methods will produce
normal Perl error messages.
WWW: http://search.cpan.org/search?dist=Class-WhiteHole
-- Sergey Skvortsov
skv@FreeBSD.org