in reply to Examples or tutorials for Perl grammars?

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.

  • Comment on Re: Examples or tutorials for Perl grammars?