class::dbi
Stray Toaster
mwk at stray-toaster.co.uk
Thu Jan 10 10:36:32 CST 2002
On Thu, Jan 10, 2002 at 04:26:40PM +0000, Scott McWhirter wrote:
> hey guys,
> having a problem with Class::DBI. this is what i have in the files below
> ------------------------------------------------------------------------(/DB.pm)
> package DB;
>
> use base 'Class::DBI::mysql';
> __PACKAGE__->set_db('Main','dbi:mysql:main','chatbox','chatbox');
two things! Firstly, I assume you have Class::DBI::mysql installed? and
secondly, there is a standard lib called DB. So maybe it isn't looking
at your db package? try calling it something else, and see if that
works.
m.
--
I didn't even have to use my AK
Today was A Good Day
More information about the Belfast-pm
mailing list