Trevor Leffler wrote:
Rob Kinyon wrote:
On Fri, Sep 9, 2011 at 11:30, Alan Humphrey
<[email protected]> wrote:
Hi –
I’m wondering how people are handling connecting to different databases,
e.g. dev vs. test vs. production. Is there a technique that’s
considered
“best practice”?
Configuration files are good things. Just swap in the right config
file for a given environment.
Rob
I'd like to +1 config files for handling things like this, and follow up
with a config scheme that I've used; try it out, adapt, etc...
[...snip...]
Hi, Alan.
Maybe some day my brain won't "synonymize" DBIx::Class with Catalyst.
Beyond "use a good config system," my post is likely completely useless
to you! But really, use a config system that works for you. ;)
Abashed,
--Trevor
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]