X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2Flib%2FScope%2FUpper%2FTestGenerator.pm;h=a04148dbb42c954445039a2838a8f03c9c46b7c1;hb=e26cff534d772ff66c0cdf5761787f43c6b7c5ec;hp=18ced2475f672c0380e48c08b9fe11c3228f3434;hpb=2e88c3aab11a9282e757ef97d7ff3a2da749c4d9;p=perl%2Fmodules%2FScope-Upper.git diff --git a/t/lib/Scope/Upper/TestGenerator.pm b/t/lib/Scope/Upper/TestGenerator.pm index 18ced24..a04148d 100644 --- a/t/lib/Scope/Upper/TestGenerator.pm +++ b/t/lib/Scope/Upper/TestGenerator.pm @@ -26,7 +26,7 @@ my @blocks = ( ); sub import { - if ($] >= 5.010001) { + if ("$]" >= 5.010001) { push @blocks, [ 'given (1) {', '}' ]; require feature; feature->import('switch');