]> git.vpit.fr Git - perl/modules/autovivification.git/blobdiff - t/50-threads.t
Replace $] by "$]"
[perl/modules/autovivification.git] / t / 50-threads.t
index 4a01c7c46b17c0e2bee65376c37870588c4acb8f..9c095457ff229fc6e2ac09bba95bcd673913145d 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;
@@ -66,7 +66,7 @@ BEGIN {
 SKIP:
    {
     skip 'Hints aren\'t propagated into eval STRING below perl 5.10' => 3 * 2
-                                                             unless $] >= 5.010;
+                                                           unless "$]" >= 5.010;
     {
      my $x;
      eval 'my $y = $x->{foo}';