projects
/
gitmo/Mouse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Merge branch 'master' into blead
[gitmo/Mouse.git]
/
lib
/
Mouse
/
Object.pm
diff --git
a/lib/Mouse/Object.pm
b/lib/Mouse/Object.pm
index
8aab619
..
72e929b
100644
(file)
--- a/
lib/Mouse/Object.pm
+++ b/
lib/Mouse/Object.pm
@@
-4,7
+4,7
@@
use Mouse::Util qw(does dump); # enables strict and warnings
sub new {
my $class = shift;
- $class->throw_error('Cannot call new() on an instance') if ref $class;
+ $class->meta->throw_error('Cannot call new() on an instance') if ref $class;
my $args = $class->BUILDARGS(@_);