X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F44-localize_delete-magic.t;h=9cfec7e3712cdfcc50e8197fcd24966a93535421;hb=bed9ac0713800543385ae073d3c046fb3390190a;hp=bf0c43d6eb6cc3ffe40b9c103fd6dee8c600f8f3;hpb=a8e609b45a64bb946197d3f4b444a07e86c52209;p=perl%2Fmodules%2FScope-Upper.git diff --git a/t/44-localize_delete-magic.t b/t/44-localize_delete-magic.t index bf0c43d..9cfec7e 100644 --- a/t/44-localize_delete-magic.t +++ b/t/44-localize_delete-magic.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Scope::Upper qw/localize_delete UP HERE/; +use Scope::Upper qw; use Test::More tests => 9; @@ -54,7 +54,8 @@ our @a; SKIP: { - skip '$NEGATIVE_INDICES has no special meaning on 5.8.0 and older' => 2 if $] < 5.008_001; + skip '$NEGATIVE_INDICES has no special meaning on 5.8.0 and older' => 2 + if "$]" < 5.008_001; local $Scope::Upper::Test::TiedArray::NEGATIVE_INDICES = 1; local @a; tie @a, 'Scope::Upper::Test::TiedArray';