Christoph Berg <myon@debian.org> writes:
> Re: Tom Lane 2018-05-23 <23260.1527026547@sss.pgh.pa.us>
>> but TBH I think someone oughta file a bug report first.
> https://rt.perl.org/Public/Bug/Display.html?id=133220
Thanks. Looking at this again, it seems like the core of the problem
is that S_run_body's fell-off-the-end behavior is equivalent to an
explicit "exit(0)". Perhaps it should not be. I can see the point of
treating "exit(0)" as an unusual quasi-error case, but fell-off-the-end
probably shouldn't be.
However, then somebody would have to look around and see if there are
any other uses of my_exit(0) that need to be rethought ...
regards, tom lane