Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
"be consistent"
 
PerlMonks  

Re: Extract Elements from an array and insert into database

by grep (Monsignor)
on Jun 28, 2007 at 14:48 UTC ( #623908=note: print w/ replies, xml ) Need Help??


in reply to Extract Elements from an array and insert into database

Here are the things you'll need to read in order to solve your problem:

Text::CSV_XS - read about this module and the sep_char option. Use parse and fields methods to parse the data

DBI - Then use prepare and Placeholders to insert your data.


Comment on Re: Extract Elements from an array and insert into database
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2014-04-17 22:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (458 votes), past polls