SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
17
devel/p5-Params-CallbackRequest/Makefile
Normal file
17
devel/p5-Params-CallbackRequest/Makefile
Normal file
|
@ -0,0 +1,17 @@
|
|||
COMMENT= functional and object-oriented callback architecture
|
||||
|
||||
MODULES= cpan
|
||||
PKG_ARCH= *
|
||||
DISTNAME = Params-CallbackRequest-1.20
|
||||
CATEGORIES= devel
|
||||
REVISION = 0
|
||||
|
||||
# perl
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
RUN_DEPENDS= devel/p5-Params-Validate \
|
||||
devel/p5-Exception-Class \
|
||||
devel/p5-Class-ISA
|
||||
TEST_DEPENDS = devel/p5-Class-ISA
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/p5-Params-CallbackRequest/distinfo
Normal file
2
devel/p5-Params-CallbackRequest/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (Params-CallbackRequest-1.20.tar.gz) = FKNwTrx1W4r8mAl1loFg426LaC7AykvxvdtYUjLiihA=
|
||||
SIZE (Params-CallbackRequest-1.20.tar.gz) = 45423
|
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.
|
8
devel/p5-Params-CallbackRequest/pkg/PLIST
Normal file
8
devel/p5-Params-CallbackRequest/pkg/PLIST
Normal file
|
@ -0,0 +1,8 @@
|
|||
${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…
Add table
Add a link
Reference in a new issue