]> git.vpit.fr Git - perl/modules/re-engine-Plugin.git/blobdiff - t/70-threads/threads.t
Quote "$]" to work around a bug in old perls
[perl/modules/re-engine-Plugin.git] / t / 70-threads / threads.t
index d85ffda76a08cb1a0b01b70fc8217dfd900a2386..19fc7b7faf0c24075a1bb36ecdaeaa6b875483ae 100644 (file)
@@ -18,7 +18,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;
  skipall "threads $t_v required to test thread safety"
                                               unless eval "use threads $t_v; 1";
  skipall "threads::shared $ts_v required to test thread safety"