David Wheeler asked: > Sure enough, I don't have the parens there. Good, except: Why don't 5.14 > or 5.16 warn on those? Maybe there are some cases that the warnings miss > but are properly caught as invalid syntax in 5.17? I think line 145 of t/run.t (version 0.51) is the culprit: 144 NOEXIT: { 145 no warnings; 146 147 # Make sure we don't exit the app via `next` or `last`. 148 for my $mode qw(ping no_ping fixup) { 149 $conn->mode($mode); 150 ok !$conn->run(sub { next }), "Return via next should fail"; 151 ok !$conn->run(sub { last }), "Return via last should fail"; 152 } 153 }Thread Previous