trying every which way to make Rose::DB::Object(s) always use my
custom global $dbh,
package Vinq::RDB::MySQL;
use base 'Rose::DB';
use Vinq::Globals qw( $dbh );
__PACKAGE__-use_private_registry;
__PACKAGE__-register_db(driver = 'mysql');
sub dbh { $dbh }
sub driver {
On Feb 8, 2007, at 7:24 PM, Michael Reece wrote:
trying every which way to make Rose::DB::Object(s) always use my
custom global $dbh,
i have no idea why your package isn't working (i have a few ideas,
but no time to test)
i suggest trying this approach, which is essentially what i do: