BSD Ports

www/p5-MasonX-Interp-WithCallbacks 1.20 FreeBSD

Mason callback support via Params::CallbackRequest

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
www, perl5
Package size
23.2 KiB, 50.4 KiB installed

Description

MasonX::Interp::WithCallbacks subclasses HTML::Mason::Interp in order to provide a Mason callback system built on Params::CallbackRequest. Callbacks may be either code references provided to the C<new()> constructor, or methods defined in subclasses of Params::Callback. Callbacks are triggered either for every request or by specially named keys in the Mason request arguments, and all callbacks are executed at the beginning of a request, just before Mason creates and executes the request component stack.

This module brings support for a sort of plugin architecture based on Params::CallbackRequest to Mason. Mason then executes code before executing any components. This approach allows you to carry out logical processing of data submitted from a form, to affect the contents of the Mason request arguments (and thus the %ARGS hash in components), and even to redirect or abort the request before Mason handles it.

In the other systems

SystemPortVersion
FreeBSDwww/p5-MasonX-Interp-WithCallbacks1.20
OpenBSDwww/p5-MasonX-Interp-WithCallbacks1.20
DragonFlywww/p5-MasonX-Interp-WithCallbacks1.20
HardenedBSDwww/p5-MasonX-Interp-WithCallbacks1.20
GhostBSDwww/p5-MasonX-Interp-WithCallbacks1.20

Install

Binary package:

pkg install p5-MasonX-Interp-WithCallbacks

From the ports tree:

cd /usr/ports/www/p5-MasonX-Interp-WithCallbacks/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-MasonX-Interp-WithCallbacks>0:www/p5-MasonX-Interp-WithCallbacks

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.201.201.19_11.201.20
FreeBSD:14:quarterly1.201.20n/a1.201.20
FreeBSD:15:latest1.201.20n/a1.201.20
FreeBSD:15:quarterly1.201.20n/an/an/a
FreeBSD:16:latest1.201.20n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 3

The full lists below include those, and their dependencies in turn.

Build dependencies 34
Run dependencies 33

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/MasonX/Interp/WithCallbacks.pm
  • %%PERL5_MAN3%%/MasonX::Interp::WithCallbacks.3.gz
distinfo 1
FileSizeSHA256
MasonX-Interp-WithCallbacks-1.20.tar.gz327918bd7cf1c4ee6952ce8e31c081d184f6de340a481b1ec90db3da88bad194f54ac
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.