Home

The devel/p5-Params-CallbackRequest port

p5-Params-CallbackRequest-1.20p0 – functional and object-oriented callback architecture (cvsweb github mirror)

Description

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.
WWW: https://metacpan.org/release/Params-CallbackRequest

Maintainer

The OpenBSD ports mailing-list

Categories

devel perl5

Run dependencies

Test dependencies

Files

Search