[Catalyst-commits] r11167 - Catalyst-Runtime/5.80/trunk/lib/Catalyst/DispatchType

t0m at dev.catalyst.perl.org t0m at dev.catalyst.perl.org
Wed Aug 19 19:10:06 GMT 2009


Author: t0m
Date: 2009-08-19 19:10:06 +0000 (Wed, 19 Aug 2009)
New Revision: 11167

Modified:
   Catalyst-Runtime/5.80/trunk/lib/Catalyst/DispatchType/Chained.pm
Log:
Remove r11058 - the commit message is lies, it does not fix the TODO test

Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/DispatchType/Chained.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/DispatchType/Chained.pm	2009-08-19 19:04:59 UTC (rev 11166)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/DispatchType/Chained.pm	2009-08-19 19:10:06 UTC (rev 11167)
@@ -237,8 +237,7 @@
                 }
 
                 # Default args is blank, not 0, since Args()
-                my $args_attr = $action->attributes->{Args}->[0];
-                $args_attr = '' unless defined $args_attr;
+                my $args_attr = $action->attributes->{Args}->[0] || '';
 
                 #    No best action currently
                 # OR This one matches with fewer parts left than the current best action,




More information about the Catalyst-commits mailing list