]> git.vpit.fr Git - perl/modules/Thread-Cleanup.git/blobdiff - t/20-recurse.t
Quote "$]" to work around a bug in old perls
[perl/modules/Thread-Cleanup.git] / t / 20-recurse.t
index 24e6184a3a93e0cb8b0660aba641b05d77ddd549..b8612371f617778f93aa920463a7a0392f025122 100644 (file)
@@ -31,7 +31,7 @@ BEGIN {
 
 use Thread::Cleanup;
 
-diag 'This will leak some scalars' unless $] >= 5.011005;
+diag 'This will leak some scalars' unless "$]" >= 5.011005;
 
 our $x = -1;