X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F63-uplevel-ctl.t;h=6b1ec188480053cb683018af750a0a076dcffd0a;hb=c9c2e1e51a8c563265670a5738ba68fad8253419;hp=4f031bce414ef403fa3127dab8280810fc4129a5;hpb=44b173f9220cfdd1afd01ae4baf414f885d2f0b2;p=perl%2Fmodules%2FScope-Upper.git diff --git a/t/63-uplevel-ctl.t b/t/63-uplevel-ctl.t index 4f031bc..6b1ec18 100644 --- a/t/63-uplevel-ctl.t +++ b/t/63-uplevel-ctl.t @@ -151,7 +151,7 @@ our $hurp; SKIP: { skip "Causes failures during global destruction on perl 5.8.[0126]" => 5 - if ("$]" >= 5.008 and "$]" <= 5.008002) or "$]" == 5.008006; + if ("$]" >= 5.008 and "$]" <= 5.008_002) or "$]" == 5.008_006; my $desc = 'exception with an eval and a local $@ in between'; local $hurp = 'durp'; local $@; @@ -223,7 +223,7 @@ SKIP: { like $@, qr/^tomato at \Q$0\E line $line/, "$desc (third): correct exception"; } -my $has_B = do { local $@; eval 'require B; 1' }; +my $has_B = do { local $@; eval { require B; 1 } }; sub check_depth { my ($code, $expected, $desc) = @_;