| Parse-RecDescent-FAQ documentation | Contained in the Parse-RecDescent-FAQ distribution. |
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.
You will also find the mailing list archives to be of some help or you could subscribe to the mailing list itself.
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 die without 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"
Terrence Brannon
The repo is on github
| Parse-RecDescent-FAQ documentation | Contained in the Parse-RecDescent-FAQ distribution. |
package Parse::RecDescent::FAQ; use vars qw($VERSION); $VERSION = '7.5'; 1; __END__