With L<DBIx::Class::Schema> you can do this quite simply:
package MySchema; #... setup schema stuff here ... __PACKAGE__->connection(sub { # Do whatever you want to do to build your $dbh return $dbh; });
| We're not surrounded, we're in a target-rich environment! |
|---|
In reply to Re^3: Why did DBIC overtake CDBI?
by jasonk
in thread Why did DBIC overtake CDBI?
by mattr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |