if (!$best_action ||
@parts < @{$best_action->{parts}} ||
- (!@parts && $args_attr == 0)){
+ (!@parts && $args_attr eq 0)){
$best_action = {
actions => [ $action ],
captures=> [],
return 0 unless @chained_attr;
- if (@chained_attr > 2) {
+ if (@chained_attr > 1) {
Catalyst::Exception->throw(
"Multiple Chained attributes not supported registering ${action}"
);
you C<detach> out of a chain, the rest of the chain will not get called
after the C<detach>.
-=head1 AUTHOR
+=head1 AUTHORS
-Matt S Trout <mst@shadowcatsystems.co.uk>
+Catalyst Contributors, see Catalyst.pm
=head1 COPYRIGHT