X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FError%2FConfess.pm;h=0e5ecb64e5a3849423002f924221710713690809;hb=a666d43ac032313d73186a5eeab6f750022818c1;hp=c50e49d6f8d7dac4a66a984e8c5af51778bc8a27;hpb=75d2da3428d70afc00efb0f295fd0656a05d6b9f;p=gitmo%2FMoose.git diff --git a/lib/Moose/Error/Confess.pm b/lib/Moose/Error/Confess.pm index c50e49d..0e5ecb6 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.77'; +our $VERSION = '0.98'; $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