From: Vincent Pit Date: Mon, 29 Dec 2008 07:52:16 +0000 (+0100) Subject: Skip two croaking tests on 5.6 X-Git-Tag: v0.03~12 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=696937a8fb51bcc7e7c7a629136f7adce3a84878;p=perl%2Fmodules%2FScope-Upper.git Skip two croaking tests on 5.6 --- 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; {