XP is just a number | |
PerlMonks |
Re: Error with DBD::CSVby Tux (Canon) |
on Aug 11, 2010 at 06:44 UTC ( [id://854227]=note: print w/replies, xml ) | Need Help?? |
I do not see any code, so I cannot tell how you created the database connection. The use of csv_auto_diag, which is also automatically set when using the autodie module, might help you.
The second will also occur when the table cannot be opened as a file, e.g. when it is a folder or when the first line contains a (serious) error. If the header line was fine, errors in the data lines will now be printed immediately:
I'll have a look if I can make the error reporting from the middle one (cannot open, empty file or bad header) a bit better. Enjoy, Have FUN! H.Merijn
In Section
Seekers of Perl Wisdom
|
|