Flexible and Powerful: Perl

Programming in C offers considerable flexibility, as you saw in the preceding lesson, but C was originally designed for system-level programming tasks. Perl, by contrast, was designed to be a powerful language for string or word processing. You can most easily see the difference by exploring a programming task.

Task 22.1: Exchange, a Demonstration Currency Translator Written in Perl

Some friends recently returned from a couple of weeks' traveling throughout Europe. Upon their return, they commented that they were baffled by the sheer variety of currencies. They're not the first to observe this, of course, but I thought ...

Get Sams Teach Yourself UNIX® in 24 Hours Second Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.