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:
parent
23f1e1435c
commit
6cd9f76749
27
devel/p5-Params-CallbackRequest/Makefile
Normal file
27
devel/p5-Params-CallbackRequest/Makefile
Normal 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>
|
4
devel/p5-Params-CallbackRequest/distinfo
Normal file
4
devel/p5-Params-CallbackRequest/distinfo
Normal 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
|
14
devel/p5-Params-CallbackRequest/pkg/DESCR
Normal file
14
devel/p5-Params-CallbackRequest/pkg/DESCR
Normal 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.
|
9
devel/p5-Params-CallbackRequest/pkg/PLIST
Normal file
9
devel/p5-Params-CallbackRequest/pkg/PLIST
Normal 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
|
Loading…
Reference in New Issue
Block a user