http://qs1969.pair.com?node_id=567351

tomazos has asked for the wisdom of the Perl Monks concerning the following question:

So I want to do this:

while (<FILE>) { ... do something with $_ ... }

...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?