From: Vincent Pit Date: Sat, 24 Aug 2013 17:52:16 +0000 (-0300) Subject: Quote "$]" to work around a bug in old perls X-Git-Tag: v0.05~6 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FThread-Cleanup.git;a=commitdiff_plain;h=80bbdd645dcd29e89423be24aa15d85a28be59f2 Quote "$]" to work around a bug in old perls --- diff --git a/t/20-recurse.t b/t/20-recurse.t index 24e6184..b861237 100644 --- a/t/20-recurse.t +++ b/t/20-recurse.t @@ -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;