X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMouse%2FUtil.pm;h=ea0f4fa350413bcd6f932558bb6bafc4f5f6ac81;hb=1a8951d105e921ff1225439bc981b985ed1b1f4e;hp=4b590349ab9f51c1e1e2e5aa4cfe18d1327bcf3a;hpb=81fd550d4417451af22a45f26b93829b4515bb89;p=gitmo%2FMouse.git diff --git a/lib/Mouse/Util.pm b/lib/Mouse/Util.pm index 4b59034..ea0f4fa 100644 --- a/lib/Mouse/Util.pm +++ b/lib/Mouse/Util.pm @@ -38,7 +38,7 @@ BEGIN{ # Because Mouse::Util is loaded first in all the Mouse sub-modules, # XS loader is placed here, not in Mouse.pm. - our $VERSION = '0.45'; + our $VERSION = '0.46'; my $xs = !(exists $INC{'Mouse/PurePerl.pm'} || $ENV{MOUSE_PUREPERL}); @@ -54,7 +54,7 @@ BEGIN{ Mouse::Util->import({ into => 'Mouse::Meta::Method::Destructor::XS' }, ':meta'); Mouse::Util->import({ into => 'Mouse::Meta::Method::Accessor::XS' }, ':meta'); return 1; - }; + } || 0; #warn $@ if $@; } @@ -153,7 +153,7 @@ BEGIN { } return $type eq 'c3' ? [calculateMRO($classname)] - : $_get_linear_isa_dfs->($classname); + : $_get_linear_isa_dfs->($classname); }; } @@ -350,7 +350,7 @@ Mouse::Util - Features, with or without their dependencies =head1 VERSION -This document describes Mouse version 0.45 +This document describes Mouse version 0.46 =head1 IMPLEMENTATIONS FOR