perlthirst has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
From the manual page of DBI, i got the following informations
PrintError: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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RaisePetPeeve => 1
by Your Mother (Archbishop) on Dec 24, 2008 at 01:52 UTC | |
by gube (Parson) on Dec 24, 2008 at 05:52 UTC | |
|
Re: dbi: PrintError and RaiseError
by Tanktalus (Canon) on Dec 24, 2008 at 00:16 UTC | |
|
Re: dbi: PrintError and RaiseError
by zwon (Abbot) on Dec 23, 2008 at 19:08 UTC | |
|
Re: dbi: PrintError and RaiseError
by Anonymous Monk on Dec 23, 2008 at 15:37 UTC |