in reply to Logging the results of 'die'
You could also use the contents of $@. After the eval, the die message will be stored in $@.DBI->connect() or print LOG "Error message\n";
Is that what you need?
Russ
Brainbench 'Most Valuable Professional' for Perl
|
---|
In Section
Seekers of Perl Wisdom