[Catalyst-commits] r13055 -
Catalyst-Runtime/5.80/trunk/lib/Catalyst/DispatchType
arcanez at dev.catalyst.perl.org
arcanez at dev.catalyst.perl.org
Fri Mar 19 18:14:18 GMT 2010
Author: arcanez
Date: 2010-03-19 18:14:18 +0000 (Fri, 19 Mar 2010)
New Revision: 13055
Modified:
Catalyst-Runtime/5.80/trunk/lib/Catalyst/DispatchType/Chained.pm
Log:
fix long standing typo
Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/DispatchType/Chained.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/DispatchType/Chained.pm 2010-03-19 10:06:33 UTC (rev 13054)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/DispatchType/Chained.pm 2010-03-19 18:14:18 UTC (rev 13055)
@@ -105,7 +105,7 @@
if (my $cap = $curr->attributes->{CaptureArgs}) {
unshift(@parts, (("*") x $cap->[0]));
}
- if (my $pp = $curr->attributes->{PartPath}) {
+ if (my $pp = $curr->attributes->{PathPart}) {
unshift(@parts, $pp->[0])
if (defined $pp->[0] && length $pp->[0]);
}
@@ -304,7 +304,7 @@
);
}
- $action->attributes->{PartPath} = [ $part ];
+ $action->attributes->{PathPart} = [ $part ];
unshift(@{ $children->{$part} ||= [] }, $action);
@@ -358,7 +358,7 @@
unshift(@parts, splice(@captures, -$cap->[0]));
}
}
- if (my $pp = $curr->attributes->{PartPath}) {
+ if (my $pp = $curr->attributes->{PathPart}) {
unshift(@parts, $pp->[0])
if (defined($pp->[0]) && length($pp->[0]));
}
More information about the Catalyst-commits
mailing list