X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Fautovivification.git;a=blobdiff_plain;f=t%2F40-scope.t;h=2e2afb8a1d6b357d59f62753b0fc22f24500ce64;hp=c79caaf66d5535b73716403519ca31aacac41f1e;hb=acd04c4caf2a342c115cd053dd5552a9ae2c414a;hpb=5f53c81963f68100257acd888894cd26ae83b9d7 diff --git a/t/40-scope.t b/t/40-scope.t index c79caaf..2e2afb8 100644 --- a/t/40-scope.t +++ b/t/40-scope.t @@ -38,7 +38,7 @@ our $blurp; is $@, '', 'second require test doesn\'t croak prematurely'; my $expect; $expect = { r1_main => { }, r1_eval => { } }; - $expect->{r2_eval} = { } if $] < 5.009005; + $expect->{r2_eval} = { } if "$]" < 5.009005; is_deeply $blurp, $expect, 'second require test didn\'t vivify'; }