in reply to DBI connections.

Is the program termination the result of a die somewhere within the module you're using to query the host? If so, you can probably trap the event by wrapping your query in an eval block. Then examine the contents of $@ to ensure whether or not the query caused an otherwise fatal error.

I could be way off. But often you can innoculate your script from the grim reaper of death by trapping him inside an eval. ;)


Dave