http://qs321.pair.com?node_id=87041


in reply to Logging the results of 'die'

DBI->connect() or print LOG "Error message\n";
You could also use the contents of $@. After the eval, the die message will be stored in $@.

Is that what you need?

Russ
Brainbench 'Most Valuable Professional' for Perl