Seems to me that there is a $dbh->disconnect missing, so either add the disconnect inside the loop, or do what gellyfish says, and then add a disconnect outside the loop.
In reply to Re^4: Peculiar Behaviour with DBI and MySQL
by pbeckingham
in thread Peculiar Behaviour with DBI and MySQL
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |