From: Tomas Doran Date: Fri, 17 Feb 2012 07:53:35 +0000 (+0000) Subject: Bump dep to B::Hooks::EndOfScope 0.10 X-Git-Tag: 0.23~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2Fnamespace-clean.git;a=commitdiff_plain;h=22c76f8a0a8d932c47047911c38bd5c92169cc11 Bump dep to B::Hooks::EndOfScope 0.10 --- diff --git a/Changes b/Changes index 787d0a1..faa9715 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,7 @@ + - Rely on B::Hooks::EndOfScope version 0.10 to fix issues with + new Module::Runtime versions (>= 0.012) on perl 5.10 due + to incorrect hook firing due to %^H localisation. + - Fix failures on 5.13.6 due to incorrect version number threshold (RT#74683) diff --git a/Makefile.PL b/Makefile.PL index 7898c88..7eb5297 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -16,7 +16,7 @@ my %RUN_DEPS = ( ); my %OPT_RUN_DEPS = (can_cc() ? ( - 'B::Hooks::EndOfScope' => '0.07', # when changing, also change $b_h_eos_req in namespace/clean.pm + 'B::Hooks::EndOfScope' => '0.10', # when changing, also change $b_h_eos_req in namespace/clean.pm # these pieces are needed if using the debugger on the perl range ($] > 5.008_008_9 && $] < 5.013_005_1) diff --git a/lib/namespace/clean.pm b/lib/namespace/clean.pm index 8ac9367..e3cbb99 100644 --- a/lib/namespace/clean.pm +++ b/lib/namespace/clean.pm @@ -13,7 +13,7 @@ $STORAGE_VAR = '__NAMESPACE_CLEAN_STORAGE'; # FIXME - all of this buggery will migrate to B::H::EOS soon BEGIN { # when changing also change in Makefile.PL - my $b_h_eos_req = '0.07'; + my $b_h_eos_req = '0.10'; if (! $ENV{NAMESPACE_CLEAN_USE_PP} and eval { require B::Hooks::EndOfScope;