Cultured Perl: More one-line Perl Scripts

From printing a range of lines to listing a file's contents in reverse order, this article shows how to do more with less using these succinct, one-line Perl scripts. You should take a look at the first One-liners 101 article, which appeared in a previous installment of Cultured Perl. The earlier article is an absolute requirement for understanding the material here, so please take a look at it before you continue. The goal of this article, as with its predecessor, is to show legible and reusable code, not necessarily the shortest or most efficient version of a program.