Error parsing

Started by Erik Ronströmalmost 23 years ago1 messagesgeneral
Jump to latest
#1Erik Ronström
kvarken@yahoo.com

Hello,

Is there any way to get information about the last error/exception? My
perl application needs to know if a delete failure (for example) is due
to a data integrity violation or something else.

There is always the error message of course, but it seems tricky,
unsafe and ineffective to parse the error string. Is there a better
way?

Erik

__________________________________________________
It's Samaritans' Week. Help Samaritans help others.
Call 08709 000032 to give or donate online now at http://www.samaritans.org/support/donations.shtm