Linux Today: Linux News On Internet Time.

IBM developerWorks: Parsing with Perl modules

Apr 30, 2000, 16:31 (0 Talkback[s])
(Other stories by Teodor Zlatanov)

"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

Related Stories: