in reply to Re^8: DBI Problem
in thread DBI Problem
You say: Your use of globally scoped lexical variables has gotten you in trouble before too, when you dont know what you are doing it is a bad practice.
Quite true.
Why is it that the globally scoped session would not be visible in the executequery?
What do you mean this "and" this? my $session and my $session???
my $session = OpenSession($dbh,$tsid); and my $session = new CGI::Ses +sion("driver:MySQL", $sid, {Handle=>$dbh, LockHandle=>$dbh})
What are you suggesting with $tsid since that is only locally scoped in many code blocks. If you mean $sid that is not visible in executequery.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: DBI Problem
by huck (Prior) on Sep 30, 2017 at 13:13 UTC |