Add p5-Class-WhiteHole 0.03,

base class to treat unhandled method
calls as errors.

PR:		32967
Submitted by:	Sergey Skvortsov <skv@FreeBSD.org>
This commit is contained in:
Sergey Skvortsov 2002-05-27 08:10:43 +00:00
parent 33666f2500
commit 5f56b42ed9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60075
6 changed files with 43 additions and 0 deletions

View file

@ -377,6 +377,7 @@
SUBDIR += p5-Class-ObjectTemplate-DB
SUBDIR += p5-Class-Singleton
SUBDIR += p5-Class-Tom
SUBDIR += p5-Class-WhiteHole
SUBDIR += p5-Config-Ini
SUBDIR += p5-Config-IniFiles
SUBDIR += p5-Config-Setting

View file

@ -0,0 +1,22 @@
# New ports collection makefile for: Class-WhiteHole
# Date created: 17 Dec 2001
# Whom: Sergey Skvortsov <skv@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Class-WhiteHole
PORTVERSION= 0.03
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Class
PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
PERL_CONFIGURE= yes
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Class::WhiteHole.3
.include <bsd.port.mk>

View file

@ -0,0 +1 @@
MD5 (Class-WhiteHole-0.03.tar.gz) = c14e55c571adbf1cd181aae61d99ab9e

View file

@ -0,0 +1 @@
Base class to treat unhandled method calls as errors

View file

@ -0,0 +1,13 @@
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

View file

@ -0,0 +1,5 @@
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/WhiteHole/.packlist
lib/perl5/site_perl/%%PERL_VER%%/Class/WhiteHole.pm
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/WhiteHole
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Class 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true