use warnings;
BEGIN {
- if ("$]" >= 5.008004 and "$]" <= 5.008005) {
+ if ("$]" >= 5.008_004 and "$]" <= 5.008_005) {
require Test::More;
Test::More::plan(skip_all
=> 'goto may segfault randomly on perl 5.8.4 and 5.8.5');
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.013_004;
skipall "threads $t_v required to test thread safety"
unless eval "use threads $t_v; 1";
}
local $Test::Builder::Level = ($Test::Builder::Level || 0) + 1;
my $use_fallback = $ENV{PERL_TEST_LEANER_USES_TEST_MORE};
- if ($use_fallback and "$]" >= 5.008004 and "$]" <= 5.008005) {
+ if ($use_fallback and "$]" >= 5.008_004 and "$]" <= 5.008_005) {
Test::More::plan(skip_all
=> 'goto may segfault randomly on perl 5.8.4 and 5.8.5');
} else {