[WindyCity-pm] || return a value?
Mike Fragassi
frag at ripco.com
Sun Jun 29 09:46:20 PDT 2008
On Fri, 27 Jun 2008, Samuel Halicke wrote:
> Use eval. DBI will die on error, so your condition is not being reached.
This is configurable by setting the value of the DBI RaiseError
attribute to 0 or undef, and by assigning an error handling method to
the HandleError attribute. (Similarly, there's a PrintError attribute
that controls whether you get STDERR output.) perldoc DBI goes over it
all.
If you don't know these features, they're really really handy.
-- Mike F.
More information about the WindyCity-pm
mailing list