in reply to Re: I swim in a sea of databases and DBIx::Connect is barely adequate
in thread I swim in a sea of databases and DBIx::Connect is barely adequate

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:
[hohoho_as_foo] dsn=dbi:mysql:dbname=hohoho user=foo pass=foozle [hohoho_as_bar dsn=dbi:mysql:dbname=hohoho user=bar pass=baz
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

Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality.

  • Comment on Re: Re: I swim in a sea of databases and DBIx::Connect is barely adequate
  • Download Code