in reply to (jeffa) 2Re: Perl DBI problem
in thread Perl DBI problem
Fair enough, I don't use that method as I prefer what might be known as the long hand approach. You are probably correct. I haven't tried RaiseError so if you or anyone else could answer the following I'd be grateful (and may even change my mind as to how to go about doing error exceptions ;).
My understanding is this: $DBI::errstr method returns the native database engine error message from the last driver function called. Does using RaiseError do exactly the same thing? And AFAIR RaiseError is used to "force errors" - will it implicitly 'die' on any error?
I'm just another monk trying to learn from my peers and betters.
barrd
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(jeffa) 4Re: Perl DBI problem
by jeffa (Bishop) on Jun 14, 2003 at 14:40 UTC | |
by barrd (Canon) on Jun 14, 2003 at 15:00 UTC |