Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: $DBI::errstr is always undef

by ikegami (Pope)
on Mar 02, 2007 at 22:25 UTC ( #602972=note: print w/replies, xml ) Need Help??


in reply to Re: $DBI::errstr is always undef
in thread $DBI::errstr is always undef

According to the docs, $DBI::errstr is a "dynamic attribute", "always associated with the last handle used", and is "Equivalent to $h->errstr." The example in the documentation for connect even uses $DBI::errstr, not DBI->errstr.