laziness, impatience, and hubris | |
PerlMonks |
Re^2: DBI selectall_arrayrefby jeffa (Bishop) |
on Sep 02, 2004 at 17:18 UTC ( [id://388002]=note: print w/replies, xml ) | Need Help?? |
I find it almost ironic that you mention error checking each query when you quote "If 'RaiseError' is not set ..." Well, why not just set RaiseError and never need worry about explicitly die'ing yourself? Barring that you are underneath miles of framework and child processes, of course -- but for most everyday uses, this is all you need do: Look into HandleError as well. jeffa L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In Section
Seekers of Perl Wisdom
|
|