projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
004ac8d
)
Fix XS loading to actually use the right VERSION var
Dave Rolsky [Tue, 28 Dec 2010 16:13:05 +0000 (11:13 -0500)]
lib/Class/MOP.pm
patch
|
blob
|
blame
|
history
lib/Moose/Exporter.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Class/MOP.pm
b/lib/Class/MOP.pm
index
9413705
..
108e96a
100644
(file)
--- a/
lib/Class/MOP.pm
+++ b/
lib/Class/MOP.pm
@@
-31,7
+31,7
@@
BEGIN {
XSLoader::load(
'Moose',
- $Moose::{VERSION} ? $Moose::{VERSION} : ()
+ $Class::MOP::{VERSION} ? ${ $Class::MOP::{VERSION} } : ()
);
{
diff --git
a/lib/Moose/Exporter.pm
b/lib/Moose/Exporter.pm
index
7adffda
..
75b433e
100644
(file)
--- a/
lib/Moose/Exporter.pm
+++ b/
lib/Moose/Exporter.pm
@@
-8,7
+8,7
@@
use XSLoader;
BEGIN {
XSLoader::load(
'Moose',
- $Moose::{VERSION} ? $Moose::{VERSION} : ()
+ $Moose::Exporter::{VERSION} ? ${ $Moose::Exporter::{VERSION} } : ()
);
}