in reply to
Re: RFC: User subroutine hinting interface for autodie
in thread RFC: User subroutine hinting interface for autodie
autodie doesn't change what a subroutine returns, it only causes subroutines to throw an exception if that subroutine would have returned in failure.
The exception to this is autodying system, which returns the exit value, rather than $?. If the command doesn't get around to exiting (because it's killed by a signal, or failure to start), then it doesn't return, it throws an exception instead.