|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: parsing a bibliographyby Your Mother (Canon) |
| on Dec 01, 2004 at 22:57 UTC ( #411608=note: print w/ replies, xml ) | Need Help?? |
|
This is a great case for Parse::RecDescent. It can take a record oriented matching strategy (so A is possible only if B follows and that then excludes C kind of thing). The trick is that writing grammars for it is not super easy or quick or else I'd take a stab--who knows, maybe some good and kind monk who's a pro with it is doing so right now.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||