in reply to Re: why text processing is fast in perl
in thread why text processing is fast in perl

There are also useful command line options (-p, -n, -i) and reading a file line by line is easy (while (<FILE>)). There's also support to read either from STDIN or from a file specified on the command line (while (<>)) which is great for text processing tools.