projects
/
gitmo/Class-MOP.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
d82060f
)
foo
Stevan Little [Thu, 4 May 2006 01:26:45 +0000 (
01:26
+0000)]
lib/Class/MOP/Class.pm
patch
|
blob
|
blame
|
history
lib/Class/MOP/Instance.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Class/MOP/Class.pm
b/lib/Class/MOP/Class.pm
index
85198f9
..
1b4580f
100644
(file)
--- a/
lib/Class/MOP/Class.pm
+++ b/
lib/Class/MOP/Class.pm
@@
-107,7
+107,7
@@
sub meta { Class::MOP::Class->initialize(blessed($_[0]) || $_[0]) }
" is not compatible with the " .
$class_name . "->meta => (" . ($meta->instance_metaclass) . ")";
}
- }
+ }
}
sub create {
diff --git
a/lib/Class/MOP/Instance.pm
b/lib/Class/MOP/Instance.pm
index
f9a34da
..
2ab4ec4
100644
(file)
--- a/
lib/Class/MOP/Instance.pm
+++ b/
lib/Class/MOP/Instance.pm
@@
-4,7
+4,7
@@
package Class::MOP::Instance;
use strict;
use warnings;
-use Scalar::Util 'weaken';
+use Scalar::Util 'weaken', 'blessed';
our $VERSION = '0.01';