-
-
22 Jan 2010 03:16:28 UTC
- Distribution: Catalyst-Plugin-Pluggable
- Module version: 0.04
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (447 / 19 / 0)
- Kwalitee
Bus factor: 11- % Coverage
- License: unknown
- Activity
24 month- Tools
- Download (2.96KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Catalyst
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Catalyst::Plugin::Pluggable - Plugin for Pluggable Catalyst applications
SYNOPSIS
# use it use Catalyst qw/Pluggable/; $c->forward_all('test'); $c->forward_all( 'test', [ 'foo', 'bar' ], '$b->{class} cmp $a->{class}' ); $c->forward_all( 'test', '$b->{class} cmp $a->{class}' );
DESCRIPTION
Pluggable Catalyst applications.
METHODS
$c->forward_all($action,[$argsref $sort])
Like C<forward>, but forwards to all actions with the same name in the whole application, ordered by class name by default. The optional $sortref parameter allows you to pass a code reference to a function that will be used in the sort function. The default here is { $a->{class} cmp $b->{class} }
SEE ALSO
Catalyst::Manual, Catalyst::Test, Catalyst::Request, Catalyst::Response, Catalyst::Helper
AUTHOR
Sebastian Riedel,
sri@oook.de
LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install Catalyst::Plugin::Pluggable, copy and paste the appropriate command in to your terminal.
cpanm Catalyst::Plugin::Pluggable
perl -MCPAN -e shell install Catalyst::Plugin::Pluggable
For more information on module installation, please visit the detailed CPAN module installation guide.