in reply to Perl Scripts Terminates unexpectedly

Hello gvbals, and welcome to the Monastery!

I take it that you want a quick-and-easy way to find where a given script is terminating. Try adding this to the head of the script:

use Carp; END { confess "Script terminated"; }

The call to Carp::confess will generate a stack trace, which should help you to locate the source of the termination. And the END block will be run even if the script encounters an exit statement.

See Carp and perlmod.

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,