Re: RaiseWarn attribute for DBI

2019-01-18 Thread Dan Book
As a side note, I have in the past thought a HandleWarn option may be useful, for instance to log warnings from the database or other custom behavior. It could also be used to throw exceptions. -Dan On Thu, Jan 17, 2019 at 4:03 AM wrote: > Hello! > > What do you think about adding a new attribu

Re: RaiseWarn attribute for DBI

2019-01-18 Thread pali
On Friday 18 January 2019 09:13:48 Tim Bunce wrote: > On Thu, Jan 17, 2019 at 10:02:39AM +0100, p...@cpan.org wrote: > > > > Currently DBI has only $dbh->{PrintWarn} attribute to control warnings. > > When is set to true (by default) all warnings from DBI driver are passed > > to perl's "warn" fun

Re: RaiseWarn attribute for DBI

2019-01-18 Thread Tim Bunce
On Thu, Jan 17, 2019 at 10:02:39AM +0100, p...@cpan.org wrote: > > Currently DBI has only $dbh->{PrintWarn} attribute to control warnings. > When is set to true (by default) all warnings from DBI driver are passed > to perl's "warn" function. > > So I would propose to add $dbh->{RaiseWarn} attrib