7 plan skip_all => 'Perl 5.010 is required' unless "$]" >= '5.010';
8 plan skip_all => 'Tests skipped on perl 5.27.{7,8,9} when smartmatch behaviour changed' if "$]" >= '5.027007' and "$]" < '5.027010';
9 plan skip_all => 'given/when have been removed in perl 5.42' if "$]" >= '5.041003';
16 no if "$]" >= 5.017011, warnings => 'experimental::smartmatch';
18 my ( $error, $topic );
31 is( $error, "blah\n", "error caught" );
34 local $TODO = "perhaps a workaround can be found"
36 is( $topic, $error, 'error is also in $_' );