pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Class-WhiteHole Import p5-Class-WhiteHole ver...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c02cf27acc61
branches:  trunk
changeset: 483013:c02cf27acc61
user:      he <he%pkgsrc.org@localhost>
date:      Sat Nov 06 01:24:43 2004 +0000

description:
Import p5-Class-WhiteHole version 0.03.

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.

diffstat:

 devel/p5-Class-WhiteHole/DESCR    |   8 ++++++++
 devel/p5-Class-WhiteHole/Makefile |  18 ++++++++++++++++++
 devel/p5-Class-WhiteHole/PLIST    |   1 +
 devel/p5-Class-WhiteHole/distinfo |   4 ++++
 4 files changed, 31 insertions(+), 0 deletions(-)

diffs (47 lines):

diff -r c934a8fb5080 -r c02cf27acc61 devel/p5-Class-WhiteHole/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Class-WhiteHole/DESCR    Sat Nov 06 01:24:43 2004 +0000
@@ -0,0 +1,8 @@
+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.
diff -r c934a8fb5080 -r c02cf27acc61 devel/p5-Class-WhiteHole/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Class-WhiteHole/Makefile Sat Nov 06 01:24:43 2004 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/06 01:24:43 he Exp $
+#
+
+DISTNAME=              Class-WhiteHole-0.04
+PKGNAME=               p5-${DISTNAME}
+SVR4_PKGNAME=          p5cwh
+CATEGORIES=            perl5
+MASTER_SITES=          ${MASTER_SITE_PERL_CPAN:=Class/}
+
+MAINTAINER=            tech-pkg%NetBSD.org@localhost
+HOMEPAGE=              http://search.cpan.org/~mschwern/Class-WhiteHole-0.04/
+COMMENT=               Perl5 module to ensure error on unhandled method calls
+
+USE_BUILDLINK3=                YES
+PERL5_PACKLIST=                ${PERL5_SITEARCH}/auto/Class/WhiteHole/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c934a8fb5080 -r c02cf27acc61 devel/p5-Class-WhiteHole/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Class-WhiteHole/PLIST    Sat Nov 06 01:24:43 2004 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/06 01:24:43 he Exp $
diff -r c934a8fb5080 -r c02cf27acc61 devel/p5-Class-WhiteHole/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Class-WhiteHole/distinfo Sat Nov 06 01:24:43 2004 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/11/06 01:24:43 he Exp $
+
+SHA1 (Class-WhiteHole-0.04.tar.gz) = 59b984271a6a1bc5dda5c1dadd3706a77f5f386e
+Size (Class-WhiteHole-0.04.tar.gz) = 3279 bytes



Home | Main Index | Thread Index | Old Index