Do you know where your variables are? | |
PerlMonks |
Re^2: fetchrow_array loop in perl 5.10by bulrush (Scribe) |
on Sep 18, 2014 at 19:33 UTC ( [id://1101106]=note: print w/replies, xml ) | Need Help?? |
Depending on (the version of) your database driver, it might be that your database driver does not like more than one statement handle being active at the same time.
Yep, that's what happened to me. I had to declare $dbh2 to make my stuff work. $dbh cannot handle both statements. I use DBD::Pg for Postgresql.
Perl 5.8.8 on Redhat Linux RHEL 5.5.56 (64-bit)
In Section
Seekers of Perl Wisdom
|
|