Hi, Monks!
I have to parse a text file.
I put every line as variable in array.
foreach (readline FILE) {
push @array,$_}
So far OK.
Now
If I see a line with the word "fail".Then I'd like to disregard the preceding line-so it won't appear in the array. How can I achieve that.
Thank you very much in advance..