]> git.vpit.fr Git - perl/modules/Lexical-Types.git/blobdiff - t/31-threads-teardown.t
Replace $] by "$]"
[perl/modules/Lexical-Types.git] / t / 31-threads-teardown.t
index cd93a505d342512c105a952b0e93904a7e1f8442..34e61acd2a75543af35eed20019f57a7c78a932c 100644 (file)
@@ -16,7 +16,7 @@ BEGIN {
  skipall 'This perl wasn\'t built to support threads'
                                                     unless $Config{useithreads};
  skipall 'perl 5.13.4 required to test thread safety'
-                                                unless $force or $] >= 5.013004;
+                                              unless $force or "$]" >= 5.013004;
 }
 
 use threads;
@@ -43,7 +43,7 @@ sub run_perl {
 
 SKIP:
 {
- skip 'Fails on 5.8.2 and lower' => 1 if $] <= 5.008002;
+ skip 'Fails on 5.8.2 and lower' => 1 if "$]" <= 5.008002;
 
  my $status = run_perl <<' RUN';
   { package IntX; package IntY; package IntZ; }