thanks, jonathan.
that is (roughly) the approach i tried after sending my last mail,
package Vinq::RDBO::_mysql;
use base 'Rose::DB::Object';
use strict;
use warnings;
use Vinq::Globals qw($dbh);
use Vinq::RDB::MySQL;
our $MAKING_CLASSES = 0;
sub init_db {
my $_db
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:
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 {