This tutorial will show you how to use a range of standard Perl 5.10 features and the new Regexp::Grammars module to decipher and process a variety of complex data and command formats. It's a practical introduction to the techniques of grammar-based recursive-descent parsing using Perl 5.10.
The Regexp::Grammars module is the successor to the Parse::RecDescent module. It offers most of the same features, with important extra capacities such as full backtracking support whilst parsing, as well as grammar inheritance (as in Perl 6).
Perl programmers who are familiar with simple regular expressions and the use of modules. The techniques presented will be useful to anyone who needs to process structured text-based input of any kind.