Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Reading from a file

by chromatic (Archbishop)
on Apr 03, 2000 at 23:23 UTC ( [id://6746]=note: print w/replies, xml ) Need Help??


in reply to Reading from a file, writing to a database

You're not doing anything with the SQL statements after you push them onto @statement. At the very least, do something like:
foreach my $statement (@statement) { if ($db->Sql($statement)) { print "Execution failed for $statement\n"; # die? Return? Carry on? } }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2024-04-19 06:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found