fixed regression with action_role namespaces being lost (created last release) and...
[catagits/CatalystX-Declare.git] / t / lib / Catalyst / ActionRole / hasActionParams_CatNS.pm
CommitLineData
12b853ff 1package Catalyst::ActionRole::hasActionParams_CatNS;
2use Moose::Role;
3
4has [qw/p1 p2/] => (is=>'ro', lazy_build=>1);
5
6sub _build_p1 {
7 my $self = shift @_;
8 return join ',', @{$self->attributes->{p1}};
9}
10
11sub _build_p2 {
12 my $self = shift @_;
13 return join ',', @{$self->attributes->{p2}};
14}
15
161;