[Dbix-class] db handle disconnect?

Tim Keefer tkeefer at gmail.com
Wed Aug 9 17:31:04 CEST 2006


Anyone have some insight as to why I'm unable to successfully cache the dbh?


When calling the connect method I pass it a code reference like so:

my $dbh = get_dbh();
if ( ! $dbh ) {
   $dbh = DBI->connect_cached ....
    store_dbh( $dbh );
}
return $dbh;

This used to work with the older version of DBIx::Class.

Thanks,
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/dbix-class/attachments/20060809/03898cda/attachment.htm 


More information about the Dbix-class mailing list