projects
/
gitmo/Class-MOP.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
6d91593
)
Pass options to Class::MOP::Package->_new (fixes failing Moose tests)
Shawn M Moore [Sun, 7 Dec 2008 01:31:27 +0000 (
01:31
+0000)]
lib/Class/MOP/Package.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Class/MOP/Package.pm
b/lib/Class/MOP/Package.pm
index
215af61
..
a1e2ec4
100644
(file)
--- a/
lib/Class/MOP/Package.pm
+++ b/
lib/Class/MOP/Package.pm
@@
-32,6
+32,7
@@
sub initialize {
} else {
my $meta = ( ref $class || $class )->_new({
'package' => $package_name,
+ %options,
});
Class::MOP::store_metaclass_by_name($package_name, $meta);