From: Dave Rolsky Date: Tue, 28 Dec 2010 16:13:05 +0000 (-0500) Subject: Fix XS loading to actually use the right VERSION var X-Git-Tag: 1.9900~3^2~24 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=202b6e5700cfd5387c5fd1ea414f9f0c0a34b36a;p=gitmo%2FMoose.git Fix XS loading to actually use the right VERSION var --- diff --git a/lib/Class/MOP.pm b/lib/Class/MOP.pm index 9413705..108e96a 100644 --- 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 --- 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} } : () ); }