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.
In reply to Re: parsing data in a file
by tirwhan
in thread parsing data in a file
by pinnacle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |