BSD Ports

devel/p5-Params-CallbackRequest 1.20p0 OpenBSD

functional and object-oriented callback architecture

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel, perl5

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.

In the other systems

SystemPortVersion
OpenBSDdevel/p5-Params-CallbackRequest1.20p0
FreeBSDdevel/p5-Params-CallbackRequest1.20_1
DragonFlydevel/p5-Params-CallbackRequest1.20_1
HardenedBSDdevel/p5-Params-CallbackRequest1.20_1
GhostBSDdevel/p5-Params-CallbackRequest1.20_1

Install

Binary package:

pkg_add p5-Params-CallbackRequest

From the ports tree:

cd /usr/ports/devel/p5-Params-CallbackRequest && make install

Dependencies

Run dependencies 3