[Gllug] [OT] Perl DBI question

Frank frank at fysh.org
Mon Feb 18 16:54:44 UTC 2002


On Mon, Feb 18, 2002 at 03:34:44PM +0000, will wrote:
> John Hearns wrote:
> >Anyway, the CGIs are not working, as they are using
> > DBI->install_driver  directly.

Well DBI->connect calls DBI->install_driver, if it hasn't been called
already.

> >As far as I can see, the normal way to do things is to use
> >DBI->connect and never to touch install_driver.

Heh, I like that: "the normal way to do things", :) 
it's not called _install_driver, so it's fair game.
(_ prefix is an attempt to have private methods, by politeness)

> >I am going through the code to replace the couple f instances where
> >install_driver is called.
> 
> I would have thought you would have needed DBD::mysql installed for it 
> to work with mysql.  That has always been my experience.

I'd agree.
---end quoted text---

-- 
 Frank Booth - Consultant
Parasol Solutions Limited.
(www.parasolsolutions.com)

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list