|more useful options|
dbi: PrintError and RaiseErrorby perlthirst (Scribe)
|on Dec 23, 2008 at 13:04 UTC||Need Help??|
perlthirst has asked for the
wisdom of the Perl Monks concerning the following question:
From the manual page of DBI, i got the following informationsPrintError:
it will do a warn on an error.
It will do a die on an error.
Can any body explain, in which case we would want to warn on an error and in which case we would want to die on an error.
I think we should always use RaiseError, for whatever error occurs it should do a die.
If anybody have a better understanding about this, kindle explain.