X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FLexical-Types.git;a=blobdiff_plain;f=t%2F31-threads-teardown.t;h=34e61acd2a75543af35eed20019f57a7c78a932c;hp=cd93a505d342512c105a952b0e93904a7e1f8442;hb=61f64dfa5fa4f435e6cd854d22e4325ef1eb0068;hpb=26192e1043cbd952cc7acaa033cc473ffd074085 diff --git a/t/31-threads-teardown.t b/t/31-threads-teardown.t index cd93a50..34e61ac 100644 --- a/t/31-threads-teardown.t +++ b/t/31-threads-teardown.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; @@ -43,7 +43,7 @@ sub run_perl { SKIP: { - skip 'Fails on 5.8.2 and lower' => 1 if $] <= 5.008002; + skip 'Fails on 5.8.2 and lower' => 1 if "$]" <= 5.008002; my $status = run_perl <<' RUN'; { package IntX; package IntY; package IntZ; }