Initial import of Hook-LexWrap-0.20

Hook::LexWrap allows you to install a pre- or post-wrapper (or both)
around an existing subroutine. Unlike other modules that provide this
capacity (e.g. Hook::PreAndPost and Hook::WrapSub), Hook::LexWrap
implements wrappers in such a way that the standard `caller' function
works correctly within the wrapped subroutine.

from Deanna Phillips <deanna@sdf.lonestar.org>
This commit is contained in:
sturm 2006-03-18 19:03:35 +00:00
parent f8fa94c104
commit bf98e9232b
4 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,23 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/03/18 19:03:35 sturm Exp $
COMMENT= "lexically scoped subroutine wrappers"
DISTNAME= Hook-LexWrap-0.20
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MAINTAINER= Deanna Phillips <deanna@sdf.lonestar.org>
# Artistic
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Hook/}
CONFIGURE_STYLE=perl
PKG_ARCH= *
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (Hook-LexWrap-0.20.tar.gz) = e3aaeb59a3adddc80ed3867e4d16654e
RMD160 (Hook-LexWrap-0.20.tar.gz) = 613fba6734064c9b4c310379f5f3b73284365c5a
SHA1 (Hook-LexWrap-0.20.tar.gz) = 8b9cfc7390acd42594412453d0845eae78e49082
SIZE (Hook-LexWrap-0.20.tar.gz) = 6369

View File

@ -0,0 +1,5 @@
Hook::LexWrap allows you to install a pre- or post-wrapper (or both)
around an existing subroutine. Unlike other modules that provide this
capacity (e.g. Hook::PreAndPost and Hook::WrapSub), Hook::LexWrap
implements wrappers in such a way that the standard `caller' function
works correctly within the wrapped subroutine.

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/03/18 19:03:35 sturm Exp $
${P5SITE}/Hook/
${P5SITE}/Hook/LexWrap.pm
@man man/man3p/Hook::LexWrap.3p