From: Tomas Doran Date: Thu, 10 Jun 2010 09:54:11 +0000 (+0000) Subject: Fix $self vs $class, davewood++ X-Git-Tag: 5.80025~2^2~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=2a787673114b4301db87cfccddcae82c8cf2791a Fix $self vs $class, davewood++ --- diff --git a/lib/Catalyst/Component.pm b/lib/Catalyst/Component.pm index 1b2d462..2fd7181 100644 --- a/lib/Catalyst/Component.pm +++ b/lib/Catalyst/Component.pm @@ -185,7 +185,7 @@ something like this: sub COMPONENT { my ($class, $app, $args) = @_; - $args = $self->merge_config_hashes($self->config, $args); + $args = $class->merge_config_hashes($class->config, $args); return $class->new($app, $args); }