projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
1315d25
)
minor change
Rafael Kitover [Sat, 20 Jun 2009 00:19:18 +0000 (
00:19
+0000)]
lib/Catalyst/Dispatcher.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/Dispatcher.pm
b/lib/Catalyst/Dispatcher.pm
index
cb22e63
..
08a4248
100644
(file)
--- a/
lib/Catalyst/Dispatcher.pm
+++ b/
lib/Catalyst/Dispatcher.pm
@@
-535,7
+535,7
@@
sub register {
my @normal_dtypes;
my @low_precedence_dtypes;
- while (my $type = shift @dtypes) {
+ for my $type ( @dtypes ) {
if ($type->isa('Catalyst::DispatchType::Index') ||
$type->isa('Catalyst::DispatchType::Default')) {
push @low_precedence_dtypes, $type;