SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Catalyst-Controller-ActionRole rpm build for : openSUSE Tumbleweed. 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.81 Date : 2024-08-05 18:21:55
Group : Development/Libraries/Perl Source RPM : perl-Catalyst-Controller-ActionRole-0.17-1.81.src.rpm
Size : 0.04 MB
Packager : (none)
Summary : (DEPRECATED) Apply roles to action instances
Description :
This module allows one to apply Moose::Roles 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 Catalyst::Controller/action and configured with
Catalyst::Controller/action_args:

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:/CPAN-C/openSUSE_Tumbleweed/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Catalyst-Controller-ActionRole-0.17-1.81.noarch.rpm
     

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

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


Content of RPM :
/usr/lib/perl5/vendor_perl/5.40.0/Catalyst
/usr/lib/perl5/vendor_perl/5.40.0/Catalyst/Controller
/usr/lib/perl5/vendor_perl/5.40.0/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/README
/usr/share/licenses/perl-Catalyst-Controller-ActionRole
/usr/share/licenses/perl-Catalyst-Controller-ActionRole/LICENSE
/usr/share/man/man3/Catalyst::Controller::ActionRole.3pm.gz

 
ICM