Initial import of Params-CallbackRequest 1.13

Params::CallbackRequest provides functional and object-oriented callbacks
to method and function parameters. Callbacks may be either code references
provided to the new() constructor, or methods defined in subclasses of
Params::Callback. Callbacks are triggered either for every call to the
Params::CallbackRequest execute() method, or by specially named keys in
the parameters to execute().
This commit is contained in:
sturm 2005-01-27 13:13:57 +00:00
parent 23f1e1435c
commit 6cd9f76749
4 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,27 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/01/27 13:13:57 sturm Exp $
COMMENT= "functional and object-oriented callback architecture"
DISTNAME= Params-CallbackRequest-1.13
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MAINTAINER= Nikolay Sturm <sturm@openbsd.org>
# GPL/Artistic
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Params/}
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ::devel/p5-Params-Validate \
::devel/p5-Exception-Class
CONFIGURE_STYLE=perl modbuild
PKG_ARCH= *
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (Params-CallbackRequest-1.13.tar.gz) = 69183af032eebccd5a7d734ab084b823
RMD160 (Params-CallbackRequest-1.13.tar.gz) = 8d80755926a5445a1d738e0583cbe8d6509c5f70
SHA1 (Params-CallbackRequest-1.13.tar.gz) = e8a5cd65611651cc26d8add805949596eb509ff5
SIZE (Params-CallbackRequest-1.13.tar.gz) = 35264

View File

@ -0,0 +1,14 @@
Params::CallbackRequest provides functional and object-oriented callbacks
to method and function parameters. Callbacks may be either code references
provided to the new() constructor, or methods defined in subclasses of
Params::Callback. Callbacks are triggered either for every call to the
Params::CallbackRequest execute() method, or by specially named keys in
the parameters to execute().
The idea behind this module is to provide a sort of plugin architecture
for Perl templating systems. Callbacks are executed by the contents of a
request to the Perl templating server, before the templating system itself
executes. This approach allows you to carry out logical processing of data
submitted from a form, to affect the contents of the request parameters
before they're passed to the templating system for processing, and even to
redirect or abort the request before the templating system handles it.

View File

@ -0,0 +1,9 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/01/27 13:13:57 sturm Exp $
${P5SITE}/Params/
${P5SITE}/Params/Callback.pm
${P5SITE}/Params/CallbackRequest/
${P5SITE}/Params/CallbackRequest.pm
${P5SITE}/Params/CallbackRequest/Exceptions.pm
@man man/man3p/Params::Callback.3p
@man man/man3p/Params::CallbackRequest.3p
@man man/man3p/Params::CallbackRequest::Exceptions.3p