X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F23-localize-ctl.t;h=5f4046ea4b44fdd649c7852755b8021bd0496f7d;hb=5f285d96032cb5cf1e24f3573f3a3c1a35160e1b;hp=13fb193a6266ebc2d71c8c3a371b041619d10d73;hpb=d41e3b0a75d80ece4b37668338ecff36829770a2;p=perl%2Fmodules%2FScope-Upper.git diff --git a/t/23-localize-ctl.t b/t/23-localize-ctl.t index 13fb193..5f4046e 100644 --- a/t/23-localize-ctl.t +++ b/t/23-localize-ctl.t @@ -5,7 +5,7 @@ use warnings; use Test::More tests => 44 + 30; -use Scope::Upper qw/localize UP HERE/; +use Scope::Upper qw; 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';