Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: perl DBI help

by Daruma (Curate)
on Sep 27, 2002 at 17:12 UTC ( #201268=note: print w/ replies, xml ) Need Help??


in reply to perl DBI help

Greetings!!

I have to agree with swiftone on this... The call to $sth->finish is troublesome. It basically will stop your fetch immediately. According to the perldoc's, finish is rarely used, and then only when you expect the statement to be destroyed or re-executed. By including it in your loop, you are trying to fetch using a destroyed (finished) statement.

I tested your code (against an Oracle DB...) and it works when I remove the $sth->finish call entirely.

-Daruma


Comment on Re: perl DBI help
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2015-07-06 01:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls