Skip Menu |

This queue is for tickets about the Parse-RecDescent-Deparse CPAN distribution.

Report information
The Basics
Id: 44333
Status: new
Priority: 0/
Queue: Parse-RecDescent-Deparse

People
Owner: Nobody in particular
Requestors: coldguy [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Missing sub Parse::RecDescent::Error::deparse
Date: Tue, 17 Mar 2009 21:48:12 -0500
To: bug-Parse-RecDescent-Deparse [...] rt.cpan.org
From: Jordan Webb <coldguy [...] gmail.com>
I'm using Parse::RecDescent 1.96.0 with Parse::RecDescent::Deparse 1.00 on Slackware 12.1's Perl 5.8.8. The module loads fine but calling deparse on my parser makes my script die with the following message: Can't locate object method "deparse" via package "Parse::RecDescent::Error" at /usr/lib/perl5/site_perl/5.8.8/Parse/ RecDescent/Deparse.pm line 115, <DATA> line 1. I'm using <error> directives in my grammar. I bet if I tore them all out it would work fine. I was able to get it to run without dying by sticking this in my script: sub Parse::RecDescent::Error::deparse { return; } The <error> directives aren't reproduced but the rest of the output from deparse looks OK. -- Jordan