X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMouse%2FUtil.pm;h=01e0da5389de3abf48a61b60c03227f08677ae7b;hb=230dd14a72d301932a9c10cd5121046bc50659ce;hp=b24cc31357f911f88f5251246dd0bf7d0e5491be;hpb=1194aedef7b9a3f8c4a36fd7060c27b1a2907b87;p=gitmo%2FMouse.git diff --git a/lib/Mouse/Util.pm b/lib/Mouse/Util.pm index b24cc31..01e0da5 100644 --- a/lib/Mouse/Util.pm +++ b/lib/Mouse/Util.pm @@ -50,7 +50,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.50_03'; + our $VERSION = '0.50_08'; my $xs = !(exists $INC{'Mouse/PurePerl.pm'} || $ENV{MOUSE_PUREPERL}); @@ -60,6 +60,7 @@ BEGIN{ (my $hack_mouse_file = __FILE__) =~ s/.Util//; # .../Mouse/Util.pm -> .../Mouse.pm $xs = eval sprintf("#line %d %s\n", __LINE__, $hack_mouse_file) . q{ + local $^W = 0; # work around 'redefine' warning to &install_subroutines require XSLoader; XSLoader::load('Mouse', $VERSION); Mouse::Util->import({ into => 'Mouse::Meta::Method::Constructor::XS' }, ':meta'); @@ -80,8 +81,6 @@ BEGIN{ use Carp (); use Scalar::Util (); -use constant _MOUSE_VERBOSE => !!$ENV{MOUSE_VERBOSE}; - # aliases as public APIs # it must be 'require', not 'use', because Mouse::Meta::Module depends on Mouse::Util require Mouse::Meta::Module; # for the entities of metaclass cache utilities @@ -365,7 +364,7 @@ Mouse::Util - Features, with or without their dependencies =head1 VERSION -This document describes Mouse version 0.50_03 +This document describes Mouse version 0.50_08 =head1 IMPLEMENTATIONS FOR