Problems? Is your data what you think it is? | |
PerlMonks |
Re: Best method to load a csv file.by jZed (Prior) |
on Dec 17, 2004 at 18:30 UTC ( [id://415735]=note: print w/replies, xml ) | Need Help?? |
If at all possible, use a loader for your database. If not, and you use DBD::CSV, you can simplify your code by using SQL to both access the CSV and load the data. If you want the fastest and most flexible option, use Text::CSV_XS, *not* Text::CSV.
In Section
Seekers of Perl Wisdom
|
|