Need Advice: Robot Parsing Templates

RoMo on 2004-01-17T13:37:35

One of my current private projects is to develope an email parsing robot (called via sendmail's .forward) which should process templates sent to it.
Until now I created my own regexp set to parse each type of template style to match the layout - but i don't really like that.

The problem is that I would like osupport _other_ template formats of commercial products with related functions and values in addition to my "own" format.

Isn't there some kind of template abstraction available?
Maybe a ABNF (Backus-Naur) Parser?

I recently tried Template::Extract but it's too "strict" and unflexible for my needs as far as i can see it.



anyone?



thanks,


Parse::RecDescent

merlyn on 2004-01-17T17:11:29

I haven't seen a problem that P::RD couldn't be coaxed in to handling. It's like regex on steriods.