X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Fautovivification.git;a=blobdiff_plain;f=t%2F50-threads.t;h=9c095457ff229fc6e2ac09bba95bcd673913145d;hp=4a01c7c46b17c0e2bee65376c37870588c4acb8f;hb=acd04c4caf2a342c115cd053dd5552a9ae2c414a;hpb=5f53c81963f68100257acd888894cd26ae83b9d7 diff --git a/t/50-threads.t b/t/50-threads.t index 4a01c7c..9c09545 100644 --- a/t/50-threads.t +++ b/t/50-threads.t @@ -16,7 +16,7 @@ BEGIN { skipall 'This perl wasn\'t built to support threads' unless $Config{useithreads}; skipall 'perl 5.13.4 required to test thread safety' - unless $force or $] >= 5.013004; + unless $force or "$]" >= 5.013004; } use threads; @@ -66,7 +66,7 @@ BEGIN { SKIP: { skip 'Hints aren\'t propagated into eval STRING below perl 5.10' => 3 * 2 - unless $] >= 5.010; + unless "$]" >= 5.010; { my $x; eval 'my $y = $x->{foo}';