Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Parse::RecDescent grammar definition

by Anonymous Monk
on Mar 21, 2011 at 14:39 UTC ( #894529=note: print w/ replies, xml ) Need Help??

in reply to Parse::RecDescent grammar definition

FYI, I found it very useful to define a module of utility subroutines to do various things to the result variables (for instance) which I "use" within the grammar (generated...) code. If I always want a list, for example, but the parser might in some cases hand me undef or a scalar, an appropriate utility sub can easily make that a non-issue and always do the right thing. "Using" them provides consistency and avoids repetition of source code.

Comment on Re: Parse::RecDescent grammar definition

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://894529]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (12)
As of 2015-11-24 23:23 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (665 votes), past polls