in reply to $@ can't be relied on?

jettero has already mentioned the solution; now, as to what the problem is, I found the following discussion in Devel::EvalError via a link in a post by ELISHEVA: Why $@ is unreliable.