From: Dave Rolsky Date: Thu, 25 Sep 2008 02:21:57 +0000 (+0000) Subject: Oops, this is Moose::Exporter, not MooseX X-Git-Tag: 0.59~42 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f5d03831f63fef5366480515a5dd6965d24bf5b6;p=gitmo%2FMoose.git Oops, this is Moose::Exporter, not MooseX --- diff --git a/lib/Moose/Exporter.pm b/lib/Moose/Exporter.pm index 5ed571b..74be72d 100644 --- a/lib/Moose/Exporter.pm +++ b/lib/Moose/Exporter.pm @@ -72,7 +72,7 @@ sub build_import_methods { sub _follow_also_real { my $exporting_package = shift; - die "Package in also ($exporting_package) does not seem to use MooseX::Exporter" + die "Package in also ($exporting_package) does not seem to use Moose::Exporter" unless exists $EXPORT_SPEC{$exporting_package}; my $also = $EXPORT_SPEC{$exporting_package}{also}; @@ -83,7 +83,7 @@ sub build_import_methods { for my $package (@also) { - die "Circular reference in also parameter to MooseX::Exporter between $exporting_package and $package" + die "Circular reference in also parameter to Moose::Exporter between $exporting_package and $package" if $seen->{$package}; $seen->{$package} = 1;