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.
(Submitted by Anonymous Thu Mar 20, 2003 )
Our content can be syndicated: Main page Mac Page
Copyright 1999-2005 Noel Davis. Noel also runs web sites about sailing and kayaking.
All trademarks are the property of their owners.
All articles are owned by their author