Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 making s'mores by the fire in the courtyard of the Monastery: (21)
As of 2015-05-29 15:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (588 votes), past polls