]> git.vpit.fr Git - perl/modules/Thread-Cleanup.git/commitdiff
Quote "$]" to work around a bug in old perls
authorVincent Pit <vince@profvince.com>
Sat, 24 Aug 2013 17:52:16 +0000 (14:52 -0300)
committerVincent Pit <vince@profvince.com>
Sat, 24 Aug 2013 17:52:16 +0000 (14:52 -0300)
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;