| 1 |
Source: libparams-callbackrequest-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Uploaders: gregor herrmann <[email protected]>, |
| 4 |
Peter Pentchev <[email protected]> |
| 5 |
Section: perl |
| 6 |
Testsuite: autopkgtest-pkg-perl |
| 7 |
Priority: optional |
| 8 |
Build-Depends: debhelper-compat (= 13), |
| 9 |
libmodule-build-perl |
| 10 |
Build-Depends-Indep: perl, |
| 11 |
libclass-isa-perl, |
| 12 |
libattribute-handlers-perl, |
| 13 |
libexception-class-perl, |
| 14 |
libparams-validate-perl, |
| 15 |
libtest-pod-perl |
| 16 |
Standards-Version: 3.9.2 |
| 17 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libparams-callbackrequest-perl |
| 18 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libparams-callbackrequest-perl.git |
| 19 |
Homepage: https://metacpan.org/release/Params-CallbackRequest |
| 20 |
|
| 21 |
Package: libparams-callbackrequest-perl |
| 22 |
Architecture: all |
| 23 |
Depends: ${perl:Depends}, |
| 24 |
${misc:Depends}, |
| 25 |
perl, |
| 26 |
libclass-isa-perl, |
| 27 |
libattribute-handlers-perl, |
| 28 |
libexception-class-perl, |
| 29 |
libparams-validate-perl |
| 30 |
Description: handler for functional and object-oriented callbacks in Perl |
| 31 |
Params::CallbackRequest provides functional and object-oriented callbacks to |
| 32 |
method and function parameters. Callbacks may be either code references |
| 33 |
provided to the new() constructor, or methods defined in subclasses of |
| 34 |
Params::Callback. Callbacks are triggered either for every call to the |
| 35 |
Params::CallbackRequest request() method, or by specially named keys in the |
| 36 |
parameters to request(). |
| 37 |
. |
| 38 |
The idea behind this module is to provide a sort of plugin architecture for |
| 39 |
Perl templating systems. Callbacks are triggered by the contents of a request |
| 40 |
to the Perl templating server, before the templating system itself executes. |
| 41 |
This approach allows you to carry out logical processing of data submitted |
| 42 |
from a form, to affect the contents of the request parameters before they're |
| 43 |
passed to the templating system for processing, and even to redirect or abort |
| 44 |
the request before the templating system handles it. |