From: Florian Ragwitz Date: Fri, 3 Dec 2010 12:30:23 +0000 (+0000) Subject: Make the no-tabs test happy again X-Git-Tag: 5.80030~21 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=a09d4dfda91fff7f029de6ff4bc6daaa10f5f0d4 Make the no-tabs test happy again --- diff --git a/lib/Catalyst/DispatchType/Chained.pm b/lib/Catalyst/DispatchType/Chained.pm index 95e0bcd..7d0d42a 100644 --- a/lib/Catalyst/DispatchType/Chained.pm +++ b/lib/Catalyst/DispatchType/Chained.pm @@ -198,7 +198,7 @@ sub recurse_match { splice( # and strip them off @parts as well @parts, 0, scalar(@{[split('/', $try_part)]}) ))); # @{[]} to avoid split to @_ - $found=1; + $found=1; } my @try_actions = @{$children->{$try_part}}; TRY_ACTION: foreach my $action (@try_actions) { @@ -225,7 +225,7 @@ sub recurse_match { $#$action_parts < $#{$best_action->{parts}} || ($#$action_parts == $#{$best_action->{parts}} && $#$captures < $#{$best_action->{captures}} && ($found > $best_action->{found}) - ))) { + ))) { $best_action = { actions => [ $action, @$actions ], captures=> [ @captures, @$captures ],