polr has asked for the wisdom of the Perl Monks concerning the following question:
I am reading in a text file line by line. If the current line meets certain criteria, I want to modify the previous line.
Originally posted as a Categorized Question.
|Replies are listed 'Best First'.|
Re: How to (conditionally) modify the previous line based on contents of current line?
by nothingmuch (Priest) on Oct 19, 2002 at 21:03 UTC