From: Stevan Little Date: Mon, 3 Jul 2006 21:26:56 +0000 (+0000) Subject: foo X-Git-Tag: 0_11~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=01a8e22110c10d12be132e272b52f8f2b2ba0a0c;p=gitmo%2FMoose.git foo --- diff --git a/Changes b/Changes index 6fa1e53..9ed102a 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,11 @@ Revision history for Perl extension Moose +0.09_04 + ++ DEVELOPER RELEASE ++ + * Moose + - improved error message when loading modules so + it is less confusing when you load a role. + 0.09_03 ++ DEVELOPER RELEASE ++ * Moose diff --git a/lib/Moose.pm b/lib/Moose.pm index 2b4a68a..86a904a 100644 --- a/lib/Moose.pm +++ b/lib/Moose.pm @@ -179,7 +179,7 @@ sub _load_all_classes { next if _is_class_already_loaded($super); # otherwise require it ... ($super->require) - || confess "Could not load superclass '$super' because : " . $UNIVERSAL::require::ERROR; + || confess "Could not load module '$super' because : " . $UNIVERSAL::require::ERROR; } }