frostpuppet has asked for the wisdom of the Perl Monks concerning the following question:
Currently I am able to parse out the garbage data between flags in a given log file. The problem im having now is that i want to grab the integer in the first line after the flag and then the integer in the last line before the ##close Flag## and computer the difference. This is made harder by the fact that i do need to count the number of lines between the two flags. Any help would be appreciated.##Flag## some T:89898 data T:3434 here T: 9390 ##CloseFlag## some data ##Flag## some T:898 data T:34 here T: 990 again T:342 ##Close Flag##
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Looking Backward While counting
by morgon (Priest) on Oct 15, 2010 at 21:03 UTC | |
by johngg (Canon) on Oct 15, 2010 at 23:21 UTC | |
|
Re: Looking Backward While counting
by jethro (Monsignor) on Oct 15, 2010 at 21:07 UTC | |
|
Re: Looking Backward While counting
by BrowserUk (Patriarch) on Oct 15, 2010 at 21:50 UTC |