Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: "Use of uninitialized value" due to empty elements in an array

by GrandFather (Cardinal)
on Mar 31, 2010 at 19:57 UTC ( #832138=note: print w/ replies, xml ) Need Help??


in reply to "Use of uninitialized value" due to empty elements in an array

'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


Comment on Re: "Use of uninitialized value" due to empty elements in an array

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://832138]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2014-08-22 13:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (157 votes), past polls