import p5-Context-Preserve

Run code after a subroutine call, preserving the context the subroutine
would have seen if it were the last statement in the caller.
This commit is contained in:
jasper 2010-01-12 09:40:25 +00:00
parent d6819074ac
commit e0a9f9cf1f
4 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,21 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/01/12 09:40:25 jasper Exp $
COMMENT= run code after a subroutine call
DISTNAME= Context-Preserve-0.01
CATEGORIES= devel
# perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= cpan
CPAN_AUTHOR= JROCKWAY
REGRESS_DEPENDS= ::devel/p5-Test-Exception \
::devel/p5-Test-use-ok
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (Context-Preserve-0.01.tar.gz) = 4owk2ehdP33hx7mlRbqZGg==
RMD160 (Context-Preserve-0.01.tar.gz) = eCOlUnZQKNiFwasARzll2B3mtu8=
SHA1 (Context-Preserve-0.01.tar.gz) = DPTgv9bvOWe2Zx/x7ZPVFTbVOAY=
SHA256 (Context-Preserve-0.01.tar.gz) = hnwO5XTRzJCv8Bm1R6e3i6Qu+Hnu9ID0xHZKriiNWj8=
SIZE (Context-Preserve-0.01.tar.gz) = 13158

View File

@ -0,0 +1,2 @@
Run code after a subroutine call, preserving the context the subroutine
would have seen if it were the last statement in the caller.

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/01/12 09:40:25 jasper Exp $
${P5SITE}/Context/
${P5SITE}/Context/Preserve.pm
@man man/man3p/Context::Preserve.3p