]> git.vpit.fr Git - perl/modules/Scope-Upper.git/blobdiff - t/23-localize-ctl.t
Correct the top warnings mask for 5.6 in t/07-context_info.t
[perl/modules/Scope-Upper.git] / t / 23-localize-ctl.t
index 13fb193a6266ebc2d71c8c3a371b041619d10d73..5f4046ea4b44fdd649c7852755b8021bd0496f7d 100644 (file)
@@ -5,7 +5,7 @@ use warnings;
 
 use Test::More tests => 44 + 30;
 
-use Scope::Upper qw/localize UP HERE/;
+use Scope::Upper qw<localize UP HERE>;
 
 our ($x, $y);
 
@@ -190,7 +190,7 @@ $y = undef;
 
 SKIP:
 {
- skip 'Perl 5.10 required to test given/when' => 30 if $] < 5.010;
+ skip 'Perl 5.10 required to test given/when' => 30 if "$]" < 5.010;
 
  eval <<' GIVEN_TEST_1';
   use feature 'switch';