<a href='http://www.samag.com/documents/s=1769/sam0112c/0112c.htm'>Perl Advisor / Parsing Interesting Things</a>


Perl Advisor / Parsing Interesting Things

09.11.2001, 08:43 · Martin · Permalink

Well, certainly Perl’s regular expressions are pretty powerful in the first place, and this task really wouldn’t be that difficult with hand-written code, but we can go a bit further and pull out a nifty tool from the CPAN: the “madman of Perl” Damian Conway’s Parse::RecDescent. This module permits extremely complex parsers to be built by specifying a nice hierarchical description of the data (as a grammar), and a series of actions to be taken as each portion of the data is returned. I find it very simple to use, and whipped up a parser in no time.


alles Bild, Text und Tonmaterial ist © Martin Spernau, Verwendung und Reproduktion erfordert die Zustimmung des Authors

Martin Spernau
© 1994-2026


amazon.de Wunschliste

Facebook me!
Google+

powered by Traumtank