http://www.perlmonks.org?node_id=1017579


in reply to Parse::RecDescent: how does <matchrule:> work?

Okay, I understand now: there is no rule named 'rbrace(2)' anywhere in my grammar. The rule name is 'rbrace'. The correct syntax is:

<matchrule: rbrace>(2)

But this doesn't work:

<matchrule: rbrace>($item[1])
Any ideas how I can accomplish what I want?