From: Andrew Main Date: Mon, 2 Sep 2013 10:28:16 +0000 (+0200) Subject: Adjust t/07-context_info.t for perl 5.19.3 X-Git-Tag: rt88177^0 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FScope-Upper.git;a=commitdiff_plain;h=1d30612dc39bd089cb54f07432fe6facaa09a8f5 Adjust t/07-context_info.t for perl 5.19.3 This fixes RT #88177. --- diff --git a/t/07-context_info.t b/t/07-context_info.t index 32a943b..3c06ac4 100644 --- a/t/07-context_info.t +++ b/t/07-context_info.t @@ -47,6 +47,7 @@ sub expected { if ($top) { $want = "$]" < 5.015_001 ? '' : undef; $hints &= ~HINT_BLOCK_SCOPE if $Config{usesitecustomize}; + $hints |= HINT_BLOCK_SCOPE if $] >= 5.019003; $warnings = sub { use warnings; (caller 0)[9] }->() if "$]" < 5.007 and not $^W; }