I have an array in Perl like the following (only much bigger). My array is called @sqlInsert
Element1 A B C
Element2 A B C
Element3 A B C
I want to fill a MySQL table with the information in this data. So really, I want to have one row going:
for ($count=0; $count<@arrayInsert; $count++) {
INSERT INTO table values ("sqlInsert[$i]","sqlInsert[$i+1]","sqlInsert[$i+2]","sqlInsert[$i+3]")
}
Any pointers?