projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
f7cff4e
)
don't rely on Carp::confess existing when compiling generated code
Jesse Luehrs [Sun, 21 Aug 2011 23:07:06 +0000 (18:07 -0500)]
lib/Class/MOP/Method/Accessor.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Class/MOP/Method/Accessor.pm
b/lib/Class/MOP/Method/Accessor.pm
index
fa1db24
..
aa7b8b8
100644
(file)
--- a/
lib/Class/MOP/Method/Accessor.pm
+++ b/
lib/Class/MOP/Method/Accessor.pm
@@
-153,7
+153,7
@@
sub _generate_reader_method_inline {
sub _inline_throw_error {
my $self = shift;
- return 'confess ' . $_[0];
+ return 'Carp::confess ' . $_[0];
}
sub _generate_writer_method {