Perl as a command-line utility
Those who use Perl as a programming language frequently forget that
it is just as useful as a quick and dirty scripting engine for
command-line operations. From the command line Perl can accomplish,
in just a single line, tasks that require pages of code in most other
languages. Teodor Zlatanov takes you through some useful examples.