projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
cef1e19
)
make sure ::Confess always confesses
Jesse Luehrs [Sun, 17 Oct 2010 21:35:53 +0000 (16:35 -0500)]
lib/Moose/Error/Confess.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Error/Confess.pm
b/lib/Moose/Error/Confess.pm
index
b7ec44b
..
bf42d98
100644
(file)
--- 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__