Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 taking refuge in the Monastery: (14)
As of 2014-09-19 16:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (143 votes), past polls