Re: No warning when missing driver?

2003-11-13 Thread Jos I. Boumans
On Nov 12, 2003, at 10:38 PM, Tim Bunce wrote: Apparently, the error is only in $@, and not $DBI::errstr, which in itself may not be a bug, just slightly surprising on my end. $DBI::errstr can't be read because the driver didn't get loaded. ok, as long as it's intended behaviour... install_driver

Re: No warning when missing driver?

2003-11-12 Thread Tim Bunce
On Wed, Nov 12, 2003 at 04:19:47PM +0100, Jos I. Boumans wrote: > > On 12-nov-03, at 14:27, Tim Bunce wrote: > > >>if i tell DBI to connect to a postgres db, but i don't have DBD::Pg > >>installed, it will not give me a warning of any kind, including when > >>DBI->trace(5) is set, that > >>i do n

Re: No warning when missing driver?

2003-11-12 Thread Jos I. Boumans
On 12-nov-03, at 14:27, Tim Bunce wrote: if i tell DBI to connect to a postgres db, but i don't have DBD::Pg installed, it will not give me a warning of any kind, including when DBI->trace(5) is set, that i do not have the necessary driver installed. It simply silently fails. Works for me: $ per

Re: No warning when missing driver?

2003-11-12 Thread Tim Bunce
On Tue, Nov 11, 2003 at 05:44:40PM +0100, Jos I. Boumans wrote: > Hi, > > I've just noticed something slightly inconvenient: > > if i tell DBI to connect to a postgres db, but i don't have DBD::Pg > installed, it will not give me a warning of any kind, including when > DBI->trace(5) is set, tha

No warning when missing driver?

2003-11-12 Thread Jos I. Boumans
Hi, I've just noticed something slightly inconvenient: if i tell DBI to connect to a postgres db, but i don't have DBD::Pg installed, it will not give me a warning of any kind, including when DBI->trace(5) is set, that i do not have the necessary driver installed. It simply silently fails. On