in reply to A Slough of ParseRecDescent Woes
This is a clue; either something is wrong with your actions or the grammar isn't parsing the data correctly. Try adding | <error> clauses to the end of each top-level rule. This will tell you if there's a parsing error, and possibly what the error is. If this doesn't show anything, look hard at the actions. You may want to explicitly set the $return variable in the actions.
By the way, Parse::RecDescent is kind of overkill for something like this. P::RD is made for much more complicated things (I'm working on using it to parse a subset of Perl) than several stock quote formats; this may be why it seems so clumsy. However, that doesn't mean "don't use it"--it just means "look at alternatives".
=cut
--Brent Dax
There is no sig.
|
|---|