]> git.vpit.fr Git - perl/modules/Scope-Upper.git/commitdiff
Adjust t/07-context_info.t for perl 5.19.3 rt88177
authorAndrew Main <zefram@fysh.org>
Mon, 2 Sep 2013 10:28:16 +0000 (12:28 +0200)
committerVincent Pit <vince@profvince.com>
Mon, 2 Sep 2013 10:28:16 +0000 (12:28 +0200)
This fixes RT #88177.

t/07-context_info.t

index 32a943be64652ef3e40d85956a30f5cc84727862..3c06ac4e3128ca93f161b916bb3b36a2b976968f 100644 (file)
@@ -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;
  }