![]() |
|
We don't bite newbies here... much | |
PerlMonks |
Re: DBI problem on AIX/Oracle 10gby fmerges (Chaplain) |
on Jul 24, 2007 at 17:45 UTC ( [id://628536]=note: print w/replies, xml ) | Need Help?? |
Hi, Why is the scope of the $sth (statement handler) outside of the function, and the $ltqs_dbh (database handler) scope only defined in the function itself? Why are you connecting and disconnecting everytime you call the function? Regards,
fmerges at irc.freenode.net
In Section
Seekers of Perl Wisdom
|
|