Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: How to parse generic reports?by erikharrison (Deacon) |
on Jul 23, 2002 at 18:36 UTC ( [id://184529]=note: print w/replies, xml ) | Need Help?? |
What you're looking for is a parser generator. You specify a template (called a "grammar") to the parser generator and it spits out Perl code to parse texts conforming to that template. Two well-known parser generators in the Perl world are Parse::Yapp and Parse::RecDescent.
In Section
Seekers of Perl Wisdom
|
|