next up previous
Next: 2. Working with files Up: 4. What can Perl Previous: 4. What can Perl

1. Easy text processing

Unlike some programming languages, Perl handles strings of all shapes and sizes without flinching. You never have to handle strings a byte at a time, and Perl has built-in functions and operators for most string-handling needs, including concatenation, sorting, reversing, length, substrings, and more.

Perl is often used for processing huge amounts of text. Its advanced regular expressions (pretty much a superset of all other Unix regular expressions) make munching logfiles and other piles of textual data easy.

Kirrily Robert