Clean up various bits of code that broke when dzil processed them.
[gitmo/Moose.git] / lib / Moose / Error / Confess.pm
index 2619af2..eaf6120 100644 (file)
@@ -3,21 +3,20 @@ package Moose::Error::Confess;
 use strict;
 use warnings;
 
-our $VERSION   = '0.89_02';
-$VERSION = eval $VERSION;
-our $AUTHORITY = 'cpan:STEVAN';
-
 use base qw(Moose::Error::Default);
 
-__PACKAGE__
+sub new {
+    my ( $self, @args ) = @_;
+    $self->create_error_confess(@args);
+}
 
-__END__
+1;
 
-=pod
+# ABSTRACT: Prefer C<confess>
 
-=head1 NAME
+__END__
 
-Moose::Error::Confess - Prefer C<confess>
+=pod
 
 =head1 SYNOPSIS