X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F20-localize-target.t;h=c68a1a3428e2857b47b5f72b523de154d77aa5a7;hb=57746d0b3de44a1205902e433488c8a1afe69469;hp=c352456f15ef5fb1043622f48d332f3c5fd83446;hpb=daa5478303f254eff6015045396920baafee0688;p=perl%2Fmodules%2FScope-Upper.git diff --git a/t/20-localize-target.t b/t/20-localize-target.t index c352456..c68a1a3 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.008_001; 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.008_001; eval q{ no strict 'refs'; local ${''} = 10;