DBI->connect returns undef if it fails and does not throw an exception even when RaiseError is specified.
It does (or is supposed to) throw an exception since DBI 0.91. But only two arguments are being passed to connect, so the attribute hashref is considered the username argument AFAICT, and RaiseError is not really being set.
In reply to Re^4: Can't call method "do" on an undefined value error
by runrig
in thread Can't call method "do" on an undefined value error
by Nik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |