projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
the possibility of using a coderef better
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst.pm
diff --git
a/lib/Catalyst.pm
b/lib/Catalyst.pm
index
851ff1d
..
859df2a
100644
(file)
--- a/
lib/Catalyst.pm
+++ b/
lib/Catalyst.pm
@@
-718,7
+718,7
@@
sub _filter_component {
# die "Circular Dependencies Detected." if $tracker{$comp};
# $tracker{$comp}++;
if(ref $comp eq 'CODE') {
- $comp = $comp->();
+ $comp = $comp->($c);
}
#$tracker{$comp}++;