X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F20-localize-target.t;h=ad3574b6ef26860ebf53954c64520cf1aa39a984;hb=e26cff534d772ff66c0cdf5761787f43c6b7c5ec;hp=c352456f15ef5fb1043622f48d332f3c5fd83446;hpb=2e88c3aab11a9282e757ef97d7ff3a2da749c4d9;p=perl%2Fmodules%2FScope-Upper.git diff --git a/t/20-localize-target.t b/t/20-localize-target.t index c352456..ad3574b 100644 --- a/t/20-localize-target.t +++ b/t/20-localize-target.t @@ -66,7 +66,8 @@ undef *x; SKIP: { - skip 'Can\'t localize through a reference before 5.8.1' => 2 if $] < 5.008001; + skip 'Can\'t localize through a reference before 5.8.1' => 2 + if "$]" < 5.008001; eval q{ no strict 'refs'; local ${''} = 9; @@ -80,7 +81,8 @@ SKIP: SKIP: { - skip 'Can\'t localize through a reference before 5.8.1' => 2 if $] < 5.008001; + skip 'Can\'t localize through a reference before 5.8.1' => 2 + if "$]" < 5.008001; eval q{ no strict 'refs'; local ${''} = 10;