RE: Quick DBI connection

2003-08-04 Thread Dan Muey
> > 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! >

RE: Quick DBI connection

2003-08-01 Thread Dan Muey
> 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

RE: Quick DBI connection

2003-08-01 Thread Bob Showalter
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.

RE: Quick DBI connection

2003-08-01 Thread Dan Muey
> > : 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

Re: Quick DBI connection

2003-08-01 Thread Rob Dixon
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

RE: Quick DBI connection

2003-07-31 Thread Dan Muey
> 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

Re: Quick DBI connection

2003-07-31 Thread Casey West
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

Quick DBI connection

2003-07-31 Thread Dan Muey
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