Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: parsing data in a file

by tirwhan (Abbot)
on Nov 02, 2010 at 14:12 UTC ( #868996=note: print w/ replies, xml ) Need Help??


in reply to parsing data in a file

Take a close look at the error messages and the lines in your data the error messages correspond to. You'll see that on line 3 of your data the name is JonDeLoach, so there is no whitespace for your second split to split on, and hence no data in $lname. As for lines 11 and subsequent of your data...well, I'm sure you can easily see what's wrong with them.


All dogma is stupid.


Comment on Re: parsing data in a file
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (12)
As of 2015-07-30 18:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls