I have a bunch of databases, but I also have the situation where, depending on what I'm doing, I need to connect to DB foo as bar one time, but baz another. I wasn't able to find in DBIx::Connect's docs how that would happen, programatically.You're right, programmatically is out the window. You would have to have a label for each case, e.g:
Of course, again, with Resources, you would be able to default and inherit as one jolly well pleases, which is why I have my eyes set on it for a rewrite/forking of DBIx::Connect[hohoho_as_foo] dsn=dbi:mysql:dbname=hohoho user=foo pass=foozle [hohoho_as_bar dsn=dbi:mysql:dbname=hohoho user=bar pass=baz
Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality.
In reply to Re: Re: I swim in a sea of databases and DBIx::Connect is barely adequate
by princepawn
in thread I swim in a sea of databases and DBIx::Connect is barely adequate
by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |