Take a look at Parse::RecDescent (longer in the tooth but well tested); or Marpa::R2 (see Re: Parsing Emacs Lisp sexpr? for example of its usage).

The cake is a lie.
The cake is a lie.
The cake is a lie.


In reply to Re: Examples or tutorials for Perl grammars? by Fletch
in thread Examples or tutorials for Perl grammars? by LittleJack

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":