instead of having to haul around the code to figure this out, why not create a handy documentary web service somewhere where you fill out the blanks and get an appropriate connection string? Loading a module every time you start the program just to create something that is a permanent per-installation configuration constant strikes me has if not ugly, at least hideously post-modern.
I'll even donate a spot of server space to the cause if you don't have it already. On Tue, 30 Nov 2004 15:58:48 -0500, Mark Stosberg <[EMAIL PROTECTED]> wrote: > On Tue, Nov 30, 2004 at 08:53:51PM +0000, Tim Bunce wrote: > > > > I don't get it. Can someone give me some small but real examples > > of the problem that's being solved here? > > To give the database name with DBD::Pg, you use: > > dbname=$dbname > > With mysql, it's different > > database=$database > > With this ConnectFoo module, it could be the same: > > dbname => $dbname, > > > Mark > > -- David L Nicol "Happy hacking!" http://www.amazon.com/exec/obidos/ASIN/0596002874/tipjartransactioA/