On Nov 12, 2003, at 10:38 PM, Tim Bunce wrote:
ok, as long as it's intended behaviour...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.
true... i found that bit out only later (nested code), i was merely surprised $DBI::errstr didn't have the last error...install_driver is defined to die if loading a driver failed. Because you used an eval and didn't print $@ we can't see the error.
What does this output:that works just as expected, and gives the error about the missing driver.
perl -MDBI -e 'DBI->connect("dbi:Pg:foo",1,1)'
so case closed, notabug :)
--
Jos Boumans"Cocaine is God's way of telling you you make too much money"
CPANPLUS http://cpanplus.sf.net
