What else is new? (since the book)
$ok = $sth->can($method_name)
- Check if a method is implemented
- Returns false for methods where the DBI has provided a ‘stub’ method
-
DBD::Foo::db->install_method($private_method_name)
- Enables driver-private methods to be installed into the DBI dispatcher
- So they can be called naturally, without using $h->func(...)
-
$dbh2 = $dbh1->clone(\%attr)
- Returns a new database handle $dbh2 that’s a clone of $dbh1
- Can be used even if $dbh1 is disconnected
-
Username and Password attributes
- "dbi:mysql(RaiseError=1,Username=joe,Password=blogs):database=dbname"
- Username is stored as handle attribute, Password isn't, currently