X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F29-localize-target.t;h=3e54d0ee36e32421b86093a2336f077d436be36d;hb=696937a8fb51bcc7e7c7a629136f7adce3a84878;hp=5b14904735c23ff2e51be92fe635b91bbd6b722c;hpb=f0cfe9b5c3139bdfb9110efd9b56c180f9bc8cc4;p=perl%2Fmodules%2FScope-Upper.git diff --git a/t/29-localize-target.t b/t/29-localize-target.t index 5b14904..3e54d0e 100644 --- a/t/29-localize-target.t +++ b/t/29-localize-target.t @@ -61,7 +61,9 @@ undef *x; is $x, 8, 'localize " $x", 3, 0 [end]'; } +SKIP: { + skip 'Can\'t localize through a reference in 5.6' => 2 if $] < 5.008; no strict 'refs'; local ${''} = 9; { @@ -71,7 +73,9 @@ undef *x; is ${''}, 9, 'localize "$", 4, 0 [end]'; } +SKIP: { + skip 'Can\'t localize through a reference in 5.6' => 2 if $] < 5.008; no strict 'refs'; local ${''} = 10; {