X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMouse%2FUtil.pm;h=48cc6c6f13884c1013cbbbe9ddf97d409ec5d691;hb=14cf9b5a1724801f786d8c4a79834aa7c063323c;hp=eeee3f3c4f24255aecb606b272090ba89397c4f5;hpb=5b3e7678602d122ad523a1aabc865cebff56de61;p=gitmo%2FMouse.git diff --git a/lib/Mouse/Util.pm b/lib/Mouse/Util.pm index eeee3f3..48cc6c6 100644 --- a/lib/Mouse/Util.pm +++ b/lib/Mouse/Util.pm @@ -50,7 +50,7 @@ BEGIN{ }, ); - our $VERSION = '0.89'; + our $VERSION = '0.95'; my $xs = !(defined(&is_valid_class_name) || $ENV{MOUSE_PUREPERL} || $ENV{PERL_ONLY}); @@ -80,7 +80,8 @@ BEGIN{ # definition of mro::get_linear_isa() my $get_linear_isa; - if (eval { require mro }) { + if ($] >= 5.010_000) { + require mro; $get_linear_isa = \&mro::get_linear_isa; } else { @@ -388,7 +389,7 @@ Mouse::Util - Utilities for working with Mouse classes =head1 VERSION -This document describes Mouse version 0.89 +This document describes Mouse version 0.95 =head1 SYNOPSIS