projects
/
gitmo/Mouse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
53f38c5
)
Mouse:::Meta::Method::Constructor is used only in pure perl mode
gfx [Mon, 16 Nov 2009 09:02:52 +0000 (18:02 +0900)]
lib/Mouse/Meta/Class.pm
patch
|
blob
|
blame
|
history
lib/Mouse/PurePerl.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Mouse/Meta/Class.pm
b/lib/Mouse/Meta/Class.pm
index
8183a96
..
24559c4
100644
(file)
--- a/
lib/Mouse/Meta/Class.pm
+++ b/
lib/Mouse/Meta/Class.pm
@@
-3,7
+3,6
@@
use Mouse::Util qw/:meta get_linear_isa not_supported/; # enables strict and war
use Scalar::Util qw/blessed weaken/;
-use Mouse::Meta::Method::Constructor;
use Mouse::Meta::Method::Destructor;
use Mouse::Meta::Module;
our @ISA = qw(Mouse::Meta::Module);
diff --git
a/lib/Mouse/PurePerl.pm
b/lib/Mouse/PurePerl.pm
index
8ff18ee
..
d2f04f3
100644
(file)
--- a/
lib/Mouse/PurePerl.pm
+++ b/
lib/Mouse/PurePerl.pm
@@
-203,6
+203,8
@@
sub add_method {
package
Mouse::Meta::Class;
+use Mouse::Meta::Method::Constructor;
+
sub constructor_class() { 'Mouse::Meta::Method::Constructor' }
sub is_anon_class{