X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FError%2FConfess.pm;h=1e6c103bc696cb3b16556397d6930941b429b8b2;hb=ae7820b1b884344a7ee90d94b484ca46459eb7b1;hp=fdbbe968190e395e64e4b4d51f5a827e3b73f0e3;hpb=aa7bbf26111ba4ed260458857f0a9cf007511bd4;p=gitmo%2FMoose.git diff --git a/lib/Moose/Error/Confess.pm b/lib/Moose/Error/Confess.pm index fdbbe96..1e6c103 100644 --- a/lib/Moose/Error/Confess.pm +++ b/lib/Moose/Error/Confess.pm @@ -3,7 +3,7 @@ package Moose::Error::Confess; use strict; use warnings; -our $VERSION = '0.66'; +our $VERSION = '1.06'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; @@ -21,10 +21,13 @@ Moose::Error::Confess - Prefer C =head1 SYNOPSIS - use metaclass => ( - metaclass => "Moose::Meta::Class", - error_class => "Moose::Error::Confess", + # Metaclass definition must come before Moose is used. + use metaclass ( + metaclass => 'Moose::Meta::Class', + error_class => 'Moose::Error::Confess', ); + use Moose; + # ... =head1 DESCRIPTION