Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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.

grep

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 musing on the Monastery: (4)
As of 2016-06-27 00:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (333 votes). Check out past polls.