Keep It Simple, Stupid | |
PerlMonks |
Re^4: custom $dbh with Rose::DB?by siracusa (Friar) |
on Nov 07, 2006 at 18:18 UTC ( [id://582710]=note: print w/replies, xml ) | Need Help?? |
using $db->dbh as a setter isn't documented, but this approach sounds reasonable if i can get it to work. Whoops, yeah, I'll go document that now. Anyway, as you discovered, you have to register at least one data source to instantiate a Rose::DB object. You don't actually have to provide all the information that you did, however. In most cases, just specifying a driver will work.
In Section
Seekers of Perl Wisdom
|
|