Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Reading your input

by space_monk (Chaplain)
on Nov 01, 2012 at 13:21 UTC ( #1001825=note: print w/ replies, xml ) Need Help??


in reply to Building a data structure - %HoH, %HoA?

You're reading in CSV data, and some of it may contain comma's and other pesky characters. I am presuming that for example, strings like location_4 would be something like "London, England" in the real data.

So use CPAN libraries such as Text::CSV to read your CSV data instead of simply reading it line by line and using split


Comment on Reading your input

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2014-09-17 22:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (100 votes), past polls