---

IBM developerWorks: Parsing with Perl modules

One of Perl’s main goals is parsing text. This tutorial
discusses CPAN modules for text parsing, and shows how you can use
them easily in your own programs.
Analyzing code comments,
adapting existing lex grammars, and many other tasks can be easy
with the right tools. Teodor shows examples of each one, with an
eye to real-world programming.”

“Perl is an excellent language for text analysis. The built-in
operators make text searching, replacing, and pattern matching
effortless. When programmers learn Perl, they frequently try to
write their own routines to parse text or data. Fortunately, CPAN
(Comprehensive Perl Archive Network) has a large collection of
modules, some of which relieve you from the problems of text and
data analysis.”

Complete
Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis