Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to Why does DBI prepare break my loop?

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1092548]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-24 08:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found