X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FDispatchType%2FChained.pm;h=33e23d20399ab92bfe82eaaf5e3f02a2f2385c52;hb=3e0665e44f88f4bdcf58ffc4b8a5a51c294773be;hp=615f5aa8ff4dbe1f5137cb4b42ebc2d1abb19ea5;hpb=bc71493a916595310ac3a3b2edd335140dcfe02d;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/DispatchType/Chained.pm b/lib/Catalyst/DispatchType/Chained.pm index 615f5aa..33e23d2 100644 --- a/lib/Catalyst/DispatchType/Chained.pm +++ b/lib/Catalyst/DispatchType/Chained.pm @@ -298,7 +298,7 @@ sub _check_args_attr { my $args = $action->attributes->{$name}->[0]; if (defined($args) and not ( Scalar::Util::looks_like_number($args) and - int($args) == $args + int($args) == $args and $args >= 0 )) { require Data::Dumper; local $Data::Dumper::Terse = 1;