Do you know where your variables are? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Okay, first of all it would be really useful if you could add a half-dozen lines of sample data to your post. This will help people to visualise your problem a bit better.
Now... "..log file has 51 fields I only need 11 fields.." Which 11 fields? It's a bit difficult to tell from the code you posted. Because you have @fields = split;, am I right in assuming that the data is whitespace delimited? Other than that, I'd make no further comment without seeing some sample data, and perhaps an example of the expected output. Cheers, PS: .... use strict In reply to Re: Log File Parsing using "split"
by McDarren
|
|