> > So what I need to know I guess is:
> > 1) in MYSuperModule.pm do I
> > a) use DBI;
> > b) sub DBI::db::myfunc {} or sub ???::Myfunc {}
> > 2) What is the best way to do that without causing namespace
> > problems?
> >
> > So answer a question with a question!
>
> Dan Muey wrote:
> > > > > To connect to the mysql driver the package name is actually
> > > > > DBI::db not DBI.
> > > > >
> > > > > My question is: is it always going to be DBI::db
> regardless of
> > > > > the driver? I need ot know for some stuff I'm making
> that uses
> > > > > the na
Dan Muey wrote:
> > > > To connect to the mysql driver the package name is actually
> > > > DBI::db not DBI.
> > > >
> > > > My question is: is it always going to be DBI::db regardless of
> > > > the driver? I need ot know for some stuff I'm making that uses
> > > > the name space of $dbh object.
> > : To connect to the mysql driver the package name is
> actually DBI::db not DBI.
> > :
> > : My question is: is it always going to be DBI::db
> regardless of the driver?
> > : I need ot know for some stuff I'm making that uses the
> name space of $dbh object.
> >
> > Yep.
> >
> > Casey Wes
Casey West wrote:
> It was Thursday, July 31, 2003 when Dan Muey took the soap box, saying:
> : If I do
> :
> : use DBI;
> : my $dbh = DBI->connect('DBI:mysql:localhost','user','pass');
> :
> : To connect to the mysql driver the package name is actually DBI::db not DBI.
> :
> : My question is: is
> It was Thursday, July 31, 2003 when Dan Muey took the soap
> box, saying:
> : If I do
> :
> : use DBI;
> : my $dbh = DBI->connect('DBI:mysql:localhost','user','pass');
> :
> : To connect to the mysql driver the package name is actually
> DBI::db not DBI.
> :
> : My question is: is it alway
It was Thursday, July 31, 2003 when Dan Muey took the soap box, saying:
: If I do
:
: use DBI;
: my $dbh = DBI->connect('DBI:mysql:localhost','user','pass');
:
: To connect to the mysql driver the package name is actually DBI::db not DBI.
:
: My question is: is it always going to be DBI::db reg
If I do
use DBI;
my $dbh = DBI->connect('DBI:mysql:localhost','user','pass');
To connect to the mysql driver the package name is actually DBI::db not DBI.
My question is: is it always going to be DBI::db regardless of the driver?
I need ot know for some stuff I'm making that uses the name space