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


in reply to Can I get some rules help with PARSE::RECDESCENT

Incidentally, I found that this is a great place to use __DATA__ ... put the grammar after that line and slurp it into the variable.