Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: Getting columns from cvs file in perlby thezip (Vicar) |
on Apr 24, 2007 at 13:45 UTC ( [id://611737]=note: print w/replies, xml ) | Need Help?? |
You should also check the returned status when you parse a line:
Occasionally, you'll encounter an invalid CSV line and you'll definitely want to handle it. If there are any embedded binary chars, you'll want to set the binary flag when you create the $csv object as I did above. Where do you want *them* to go today?
In Section
Seekers of Perl Wisdom
|
|