projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Remove useless lexical.
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Component.pm
diff --git
a/lib/Catalyst/Component.pm
b/lib/Catalyst/Component.pm
index
870418c
..
fe0ef6f
100644
(file)
--- a/
lib/Catalyst/Component.pm
+++ b/
lib/Catalyst/Component.pm
@@
-113,6
+113,8
@@
sub COMPONENT {
sub config {
my $self = shift;
+ # Uncomment once sane to do so
+ #Carp::cluck("config method called on instance") if ref $self;
my $config = $self->_config || {};
if (@_) {
my $newconfig = { %{@_ > 1 ? {@_} : $_[0]} };