Package : perl-Catalyst-Controller-ActionRole > RPM : perl-Catalyst-Controller-ActionRole-0.170.0-4.mga7.src.rpm
Basic items
Name | perl-Catalyst-Controller-ActionRole |
Version | 0.170.0 |
Release | 4.mga7 |
URL | http://search.cpan.org/dist/Catalyst-Controller-ActionRole |
Group | Development/Perl |
Summary | Apply roles to action instances |
Size | 35KB |
Arch | noarch |
License | GPL+ or Artistic |
Description
This module allows to apply 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 '@INC' according to the rules for /ROLE
PREFIX SEARCHING.
Additionally it's possible to to apply roles to *all* actions of a
controller without specifying the 'Does' keyword in every action
definition:
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 '@INC' according to the rules for /ROLE
PREFIX SEARCHING.
Additionally it's possible to to apply roles to *all* actions of a
controller without specifying the 'Does' keyword in every action
definition:
Media information
Distribution release | Mageia 7 |
Media name | core-release |
Media arch | x86_64 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2018-09-19 06:14:30 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |