24 Aug 2010 17:09:30 UTC
- Distribution: Parse-RecDescent-FAQ
- Module version: 7.5
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (10)
- Testers (770 / 0 / 0)
- KwaliteeBus factor: 0
- 100.00% Coverage
- License: unknown
- Activity24 month
- Download (53.86KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
- Recent hot questions
Parse::RecDescent::FAQ - the official, authorized FAQ for Parse::RecDescent.
You can see the original FAQ (still useful) at Parse::RecDescent::FAQ::Original. It is a document that I grew over about a decade, but I no longer have time for editing and categorizing other people's posts to fit them into POD format and to collect answers.
But I still scan Google alerts for new recdescent posts daily. You may read what I have found to be useful at my my parse-recdescent tagged delicious bookmarks.
I occasionally encounter a recent hot question and will post it right here
Even if you read the Parse::RecDescent very closely, you will not be sure of how to get the return data back from a top-level rule. All the examples are
$parser->startrule($text) or diewithout any attempts to extract the return value.
However, thanks to Rob Kinyon's hard work, we have an answer:
$tree = $parser->startrule( $text ) or die "Cannot parse"
The repo is on github
Module Install Instructions
To install Parse::RecDescent::FAQ, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Parse::RecDescent::FAQ
For more information on module installation, please visit the detailed CPAN module installation guide.