X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FSub-Name.git;a=blobdiff_plain;f=t%2Flexical.t;fp=t%2Flexical.t;h=15ebfd6006a9aa333c9429e470b98ce770a28f14;hp=97a32636786bf227a63227e84f00be57a6c0c097;hb=652bff5160df5e2f1a74528f5eb0f90d9b8027d5;hpb=e1737edbf0eba999677ff144e1119b71cb57ec9f diff --git a/t/lexical.t b/t/lexical.t index 97a3263..15ebfd6 100644 --- a/t/lexical.t +++ b/t/lexical.t @@ -8,6 +8,12 @@ BEGIN { } } +BEGIN { + if ("$]" < 5.020) { + plan 'skip_all' => 'lexical subs unreliable on this perl'; + } +} + use feature 'lexical_subs'; no warnings 'experimental::lexical_subs';