X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FActionChain.pm;h=1518802f8280d6d1e4431b7073b4fc933f435b41;hb=586c57d99badfbf772877206564f7041adb03ea9;hp=e0182809bf116dfbbd811d4c5290cdfa0218c549;hpb=e5ecd5bc38bac3e2fcfaf643ea2a4c6ab46d7e57;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/ActionChain.pm b/lib/Catalyst/ActionChain.pm index e018280..1518802 100644 --- a/lib/Catalyst/ActionChain.pm +++ b/lib/Catalyst/ActionChain.pm @@ -5,6 +5,8 @@ extends qw(Catalyst::Action); has chain => (is => 'rw'); +no Moose; + =head1 NAME Catalyst::ActionChain - Chain of Catalyst Actions @@ -21,20 +23,6 @@ the actions in the chain in order. =cut -use overload ( - - # Stringify to reverse for debug output etc. - q{""} => sub { shift->{reverse} }, - - # Codulate to execute to invoke the encapsulated action coderef - '&{}' => sub { my $self = shift; sub { $self->execute(@_); }; }, - - # Make general $stuff still work - fallback => 1, - -); - - sub dispatch { my ( $self, $c ) = @_; my @captures = @{$c->req->captures||[]}; @@ -83,9 +71,9 @@ Catalyst::ActionChain object representing a chain of these actions Provided by Moose -=head1 AUTHOR +=head1 AUTHORS -Matt S. Trout +Catalyst Contributors, see Catalyst.pm =head1 COPYRIGHT