Or, if you too lazy - take a look at Catalyst::TraitFor::Model::DBIC::Schema::ConnectInfo::Several
2011/9/9 Rob Kinyon <[email protected]>: > 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 > > _______________________________________________ > 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] > -- Sincerely yours, Oleg Kostyuk (CUB-UANIC) _______________________________________________ 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]
