This tool has already been written (and perfected) and most importantly it's sitting on your drive with mysql.
mysqlimport is a standard mysql utility.
It takes just a few minutes to read throught the man page for mysqlimport and setup the command to import your CSV file. Then you can spend you valuable time writing perl code :)
| Just me, the boy and these two monks, no questions asked. |
In reply to Re: Parsing CSV file
by grep
in thread Parsing CSV file
by illc0mmunication
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |