From: Jesse Luehrs Date: Sun, 17 Oct 2010 21:35:53 +0000 (-0500) Subject: make sure ::Confess always confesses X-Git-Tag: 1.16~20 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2f8c848021a7bc53f43f5c7be0c00305181cc0a9;p=gitmo%2FMoose.git make sure ::Confess always confesses --- diff --git a/lib/Moose/Error/Confess.pm b/lib/Moose/Error/Confess.pm index b7ec44b..bf42d98 100644 --- a/lib/Moose/Error/Confess.pm +++ b/lib/Moose/Error/Confess.pm @@ -9,6 +9,11 @@ our $AUTHORITY = 'cpan:STEVAN'; use base qw(Moose::Error::Default); +sub new { + my ( $self, @args ) = @_; + $self->create_error_confess(@args); +} + __PACKAGE__ __END__