Perl Monk, Perl Meditation | |
PerlMonks |
Re: Why does DBI prepare break my loop?by hippo (Bishop) |
on Jul 07, 2014 at 10:12 UTC ( [id://1092548]=note: print w/replies, xml ) | Need Help?? |
By uncommenting the last two lines of the loop you are overwriting the $sth object which will necessarily affect the condition in the while test. If you don't want to overwrite $sth choose a different variable name to hold the inner statement handle.
In Section
Seekers of Perl Wisdom
|
|