Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 browsing the Monastery: (8)
As of 2015-07-03 07:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (48 votes), past polls