in reply to Re^7: Help with Parse::RecDescent grammar
in thread Help with Parse::RecDescent grammar

Ahh, Ok, I think Im starting to understand how this module works.

One more question though. Im trying to skip all lines which begin with a ";" as this is a comment. I used the following code to no avail:

<skip:';'>

Am I missing something here?

Thanks

F

Replies are listed 'Best First'.
Re^9: Help with Parse::RecDescent grammar
by ikegami (Patriarch) on Dec 13, 2006 at 17:46 UTC
    parse : <skip:'(?:\s+|;[^\n]*\n)*'> portDef(s?) /\Z/ { $item[2] }