in reply to Re: 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 think you can do it all just by switching config modules. If you use Config::ApacheFormat, for example, you can have defaults and override them:
# default user postgres pass <STDIN> dsn dbi:Pg:dbname=mydb attr RaiseError=0 attr PrintError=0 attr Taint=1 <Database dev_db> user root # the rest is inherited from defaults </Database>
  • Comment on Re: Re: Re: I swim in a sea of databases and DBIx::Connect is barely adequate
  • Download Code

Replies are listed 'Best First'.
Re: Re: Re: Re: I swim in a sea of databases and DBIx::Connect is barely adequate
by princepawn (Parson) on Oct 21, 2003 at 00:53 UTC
    That's a pretty nice module... it will work. I am planning to upload my version of Config::Resources with warnings cleaned out, etc, etc. Then I will ruminate on the comparative approaches to defaulting argumements. Thanks for the pointer.

    Interesting how tregar did not submit patches to either author of preceding modules...

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