![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Processing text file in reverse-order linewiseby tomazos (Deacon) |
on Aug 14, 2006 at 22:07 UTC ( #567351=perlquestion: print w/replies, xml ) | Need Help?? |
tomazos has asked for the wisdom of the Perl Monks concerning the following question: So I want to do this:
...but rather than process the first line first, I want to process the last line first, and then process the second last line, and then the third last line, all the way to the first line. Any ideas about how to do this elegantly and efficiently?
Back to
Seekers of Perl Wisdom
|
|