]> git.vpit.fr Git - perl/modules/Lexical-Types.git/blobdiff - t/13-padsv.t
Make Perl version numbers more readable
[perl/modules/Lexical-Types.git] / t / 13-padsv.t
index 5e5cc3d32d49f8e00c6732ed6fa18630131c91e6..139b72d3463c5b34a8aa5833020e6cac215cada4 100644 (file)
@@ -3,6 +3,8 @@
 use strict;
 use warnings;
 
+use Config qw<%Config>;
+
 use Test::More tests => 4;
 
 sub Str::TYPEDSCALAR {
@@ -30,7 +32,10 @@ my @lines;
 
 sub Int::TYPEDSCALAR { push @lines, (caller(0))[2]; () }
 
-{
+SKIP: {
+ skip 'Broken with threaded perls before 5.8.4' => 1
+                                   if $Config{useithreads} and "$]" < 5.008_004;
+
  use Lexical::Types as => sub {
   # In 5.10, this closure is compiled before hints are enabled, so no hintseval
   # op is added at compile time to propagate the hints inside the eval.