]> git.vpit.fr Git - perl/modules/Scope-Upper.git/commit
Skip 'yield to subst context' tests on perl 5.8 and below
authorVincent Pit <vince@profvince.com>
Wed, 2 Jan 2013 00:22:27 +0000 (01:22 +0100)
committerVincent Pit <vince@profvince.com>
Wed, 2 Jan 2013 00:22:27 +0000 (01:22 +0100)
commit6c74fb492a0404fa8822211cba07b1027ce3cfec
treeb30bd7111135836c4dc9f9c6222180e87925f9b7
parentf875bbd708105434e7092fac0b72fa2b4fa81c0f
Skip 'yield to subst context' tests on perl 5.8 and below

The snippet :

    my $s = "foo";
    eval { $s =~ s/./die "wut"/e };
    qr/bar/;

segfaults on a threaded, debugging and poisonous perl 5.8.9. Just to be
safe, the relevant test won't be run before perl 5.10.
t/55-yield-target.t
t/58-yield-misc.t