go ahead... be a heretic | |
PerlMonks |
Re: "Use of uninitialized value" due to empty elements in an arrayby GrandFather (Saint) |
on Mar 31, 2010 at 19:57 UTC ( [id://832138]=note: print w/replies, xml ) | Need Help?? |
'tab-delimited file' translates to CSV file (comma separated files are common) and there are standard ways to handle such beasts. It may well be that your files are trivial and split will work fine, but in the general case there are many nasty edge cases to take care of with such files. Take a look at Text::CSV and Text::xSV. True laziness is hard work
In Section
Seekers of Perl Wisdom
|
|