Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Process Text File and Write to Database

by toolic (Bishop)
on Nov 20, 2009 at 18:37 UTC ( [id://808498]=note: print w/replies, xml ) Need Help??


in reply to Process Text File and Write to Database

It looks like you never call $query_handle->execute(); because of the unconditional next; in your while loop:
while (<INPUT>) { my $name = $connect->quote($_); next;
That first connect is the only one that ever gets called in your loop. That doesn't seem right.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2025-07-17 16:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.