X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FActionChain.pm;h=1518802f8280d6d1e4431b7073b4fc933f435b41;hb=4ac0b9cb8e9043db8a95f44af685c782bf9426e7;hp=819b8943673418b4d73d7ebb45d099f402386262;hpb=6680c772eaa987eafdb32e9437fd2d649dc914d9;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/ActionChain.pm b/lib/Catalyst/ActionChain.pm index 819b894..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||[]}; @@ -57,7 +45,6 @@ sub from_chain { return $self->new({ %$final, chain => $actions }); } -no Moose; __PACKAGE__->meta->make_immutable; 1; @@ -84,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