|
|
| XP is just a number | |
| PerlMonks |
Answer: How to parse generic reports? |
| ( #184529=categorized answer: print w/ replies, xml ) | Need Help?? |
|
Q&A > files > How to parse generic reports? contributed by erikharrison
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.
|
|
||||||||||||||||||