X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=lib%2FMouse%2FUtil.pm;h=785f07c577bf1e5a589db3bb71576c06853c5cef;hp=107f700b26c114dbbe0450fe75cd4d73dbf6dd87;hb=02bf7ed13ae5d43392767a38fe71e9606f1dba76;hpb=6a4ab70d0af178844599e0ccedea24a7f59f0338 diff --git a/lib/Mouse/Util.pm b/lib/Mouse/Util.pm index 107f700..785f07c 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.44'; + our $VERSION = '0.48'; 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.44 +This document describes Mouse version 0.48 =head1 IMPLEMENTATIONS FOR