From: Dave Rolsky Date: Mon, 4 Jan 2010 18:05:25 +0000 (-0600) Subject: Do the $XS_VERSION trick to make XSLoader happy with a dev version X-Git-Tag: 0.93_01~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=79dad293813bec9cf024859cb34618dd7ca01b93;p=gitmo%2FMoose.git Do the $XS_VERSION trick to make XSLoader happy with a dev version --- diff --git a/lib/Moose/Exporter.pm b/lib/Moose/Exporter.pm index c20c74f..3bdc804 100644 --- a/lib/Moose/Exporter.pm +++ b/lib/Moose/Exporter.pm @@ -4,6 +4,7 @@ use strict; use warnings; our $VERSION = '0.93_01'; +our $XS_VERSION = $VERSION; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; @@ -15,7 +16,7 @@ use Sub::Name qw(subname); use XSLoader; -XSLoader::load( 'Moose', $VERSION ); +XSLoader::load( 'Moose', $XS_VERSION ); my %EXPORT_SPEC;