On Sat, Aug 18, 2007 at 12:02:47PM +0200, Bart Lateur wrote: > On Tue, 14 Aug 2007 16:01:21 +0000, [EMAIL PROTECTED] wrote: > > >To oversimplify somewhat: > > > >* PrintError prints an error message whenever there is an error. > > > >* RaiseError does the same as PrintError and also dies. > > I've always wondered, and now seems a good time to ask as any: why are > PrintError and RaiseError not mutually exclusive? It seems silly to have > both on at the same time, essentially printing the error message twice. > (Yes I've tested it with a fairly recent version of DBI: 1.52).
The exception may be caught by an eval { }. Using PrintError you'd still get a warning. Tim.