SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Catalyst-Controller-ActionRole rpm build for : OpenSuSE. For other distributions click perl-Catalyst-Controller-ActionRole.

Name : perl-Catalyst-Controller-ActionRole
Version : 0.17 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 1.1 Date : 2015-05-01 08:33:22
Group : Development/Libraries/Perl Source RPM : perl-Catalyst-Controller-ActionRole-0.17-1.1.src.rpm
Size : 0.04 MB
Packager : (none)
Summary : (DEPRECATED) Apply roles to action instances
Description :
This module allows one to apply the Moose::Role manpages to the
\'Catalyst::Action\'s for different controller methods.

For that a \'Does\' attribute is provided. That attribute takes an argument,
that determines the role, which is going to be applied. If that argument is
prefixed with \'+\', it is assumed to be the full name of the role. If it\'s
prefixed with \'~\', the name of your application followed by
\'::ActionRole::\' is prepended. If it isn\'t prefixed with \'+\' or \'~\', the
role name will be searched for in \'AATTINC\' according to the rules for /ROLE
PREFIX SEARCHING.

It\'s possible to apply roles to *all* actions of a controller without
specifying the \'Does\' keyword in every action definition:

package MyApp::Controller::Bar

use Moose;
use namespace::autoclean;

BEGIN { extends \'Catalyst::Controller::ActionRole\' }

__PACKAGE__->config(
action_roles => [\'Foo\', \'~Bar\'],
);








sub moo : Local { ... }

Additionally, roles can be applied to selected actions without specifying
\'Does\' using the Catalyst::Controller/action manpage and configured with
the Catalyst::Controller/action_args manpage:

package MyApp::Controller::Baz;

use Moose;
use namespace::autoclean;

BEGIN { extends \'Catalyst::Controller::ActionRole\' }

__PACKAGE__->config(
action_roles => [qw( Foo )],
action => {
some_action => { Does => [qw( ~Bar )] },
another_action => { Does => [qw( +MyActionRole::Baz )] },
},
action_args => {
another_action => { customarg => \'arg1\' },
}
);


sub some_action : Local { ... }



sub another_action : Local { ... }

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/SLE_12/noarch

Content of RPM  Changelog  Provides Requires

Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server

Provides :
perl(Catalyst::Controller::ActionRole)
perl-Catalyst-Controller-ActionRole

Requires :
perl(namespace::autoclean)
perl(Class::Load)
perl(Catalyst::Controller)
rpmlib(CompressedFileNames) <= 3.0.4-1
perl(String::RewritePrefix) => 0.004
perl(Moose::Meta::Class)
rpmlib(PayloadIsLzma) <= 4.4.6-1
perl(:MODULE_COMPAT_5.18.2)
perl(MooseX::Types::Moose)
perl(Catalyst::Utils)
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
perl(Catalyst::Runtime) => 5.80025
perl(Moose)


Content of RPM :
/usr/lib/perl5/vendor_perl/5.18.2/Catalyst
/usr/lib/perl5/vendor_perl/5.18.2/Catalyst/Controller
/usr/lib/perl5/vendor_perl/5.18.2/Catalyst/Controller/ActionRole.pm
/usr/share/doc/packages/perl-Catalyst-Controller-ActionRole
/usr/share/doc/packages/perl-Catalyst-Controller-ActionRole/CONTRIBUTING
/usr/share/doc/packages/perl-Catalyst-Controller-ActionRole/Changes
/usr/share/doc/packages/perl-Catalyst-Controller-ActionRole/LICENSE
/usr/share/doc/packages/perl-Catalyst-Controller-ActionRole/README
/usr/share/man/man3/Catalyst::Controller::ActionRole.3pm.gz

 
ICM