Just another Perl shrine | |
PerlMonks |
Re: Perl DBI adding some, not all, records to MySQL databaseby snopal (Pilgrim) |
on Jul 06, 2007 at 13:58 UTC ( [id://625266]=note: print w/replies, xml ) | Need Help?? |
The method you are using to split the fields may be at issue. My experience with Text::CSV_XS is that it is necessary to use binary mode or some records will be null when characters in the line are out of ascii range. It may also be possible that your EOL character is getting in the way. Properly chomping the lines as you parse them can help alot. These suggestions are merely conjecture since we don't have this part of the code to evaluate.
In Section
Seekers of Perl Wisdom
|
|