From: Shawn M Moore Date: Sat, 29 Nov 2008 01:00:59 +0000 (+0000) Subject: More fixes for requiring Test::Exception 0.27 X-Git-Tag: 0.19~149 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9a8a1b5855775c74adfdc003006f30fd472b9cdd;p=gitmo%2FMouse.git More fixes for requiring Test::Exception 0.27 --- diff --git a/lib/Mouse/Util.pm b/lib/Mouse/Util.pm index 7d0c97d..04c5ee4 100644 --- a/lib/Mouse/Util.pm +++ b/lib/Mouse/Util.pm @@ -204,8 +204,8 @@ BEGIN { $loaded{$module_name} = $loaded; - for my $method_name (keys %{ $dependencies{ $module_name } }) { - my $producer = $dependencies{$module_name}{$method_name}; + for my $method_name (keys %{ $dependencies{ $module } }) { + my $producer = $dependencies{$module}{$method_name}; my $implementation; if (ref($producer) eq 'HASH') {