Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I also suggest that you read about the split() function. The default split uses /\s+/. Basically that means that when a sequence of one or more "whitespace" characters are found, they are thrown away and the token to that point is returned. Your split is highly unlikely to return anything of interest.
Probably is not going to do what you want. You seem to be describing a file like: I doubt that this is what you actually have.
use split() when you know what to throw away.
In reply to Re: it should be simple enough...
by Marshall
|
|