P is for Practical | |
PerlMonks |
Re^2: Can I get some rules help with PARSE::RECDESCENTby 7stud (Deacon) |
on Mar 10, 2018 at 20:16 UTC ( [id://1210634]=note: print w/replies, xml ) | Need Help?? |
What is the '|' supposed to be an alternative of, the operand rule parenthesized expression? A rule can have alternatives, e.g. rule_name: alt1 | alt2, and you can insert an action in the middle of a rule:
And, you can add whatever whitespace you want:
And you can add an action at the end of a rule:
In Section
Seekers of Perl Wisdom
|
|