in reply to FCGI Print line number where exited?

Try adding this at the top of the program:

END{ warn join ' ', caller() }

By judiciuos use of a loop and the argument to caller you could get a full traceback.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
RIP an inspiration; A true Folk's Guy