]> git.vpit.fr Git - perl/modules/Scope-Upper.git/blobdiff - t/44-localize_delete-magic.t
fix unwind()
[perl/modules/Scope-Upper.git] / t / 44-localize_delete-magic.t
index bf0c43d6eb6cc3ffe40b9c103fd6dee8c600f8f3..9cfec7e3712cdfcc50e8197fcd24966a93535421 100644 (file)
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Scope::Upper qw/localize_delete UP HERE/;
+use Scope::Upper qw<localize_delete UP HERE>;
 
 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';