|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re: perl and mysql parse a text fileby rnahi (Curate) |
| on Feb 03, 2006 at 15:21 UTC ( #527678=note: print w/ replies, xml ) | Need Help?? |
|
If your query requires one parameter, and you are passing an array, it's correct that only the first is inserted. What you need is to prepare once aand execute many times.
Alternatively, you can create a multiple insert query.
HTH
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||