If you feel you need a new approach because of speed concerns, you almost certainly don't want to use Parse::RecDescent. It's nice as far as abstractions go, but it is quite slow in my experience.
But, if you think the code is crufty and you can do better with your advanced knowledge of perl and you have the time/resources to rewrite the code, go for it. It sounds like you've got a handle on a potential problem with the original code anyway (matches variable errors rather than not-so-variable keep lines). If speed really is a concern, you should profile the existing code first. It may be that your current approach to matching error lines is plenty fast and that the bottleneck is really somewhere else.
In reply to Re: To parse or not to parse
by duff
in thread To parse or not to parse
by set_uk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |