I'd like to start using Class::DBI and CGI::Application for some web projects. Is there a way to get Class::DBI to read connection information from a file or pass that info to Class::DBI rather than hard-coding it in the source for your subclass?
Every example I've seen for Class::DBI is in the format:
package My::DBI;
use base qw/Class::DBI/;
My::DBI->set_db(...