in reply to OOP Access of variables
What's confusing is that you say you want it from the persistent connection from the command line as you'd get from running Apache::DBI. Unless you have an aspect of your program that will be running constantly acting as a server, I don't see how you can get this, as TArtLib will be initialized every runtime from the command line, reconnecting it to the database. Maybe I'm just mistaken here.my $sth = TArtLib::dbi->prepare("select * from table") or die DBI::err +str; my $sth2 = TArtLib->dbi()->prepare("select * from table") or die DBI:: +errstr;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: OOP Access of variables
by simeon2000 (Monk) on Mar 08, 2001 at 21:27 UTC | |
by simeon2000 (Monk) on Mar 08, 2001 at 21:29 UTC |