Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Parse::RecDescent - Any Way to do a Negation?

by Masem (Monsignor)
on Mar 14, 2002 at 02:39 UTC ( #151581=note: print w/ replies, xml ) Need Help??

in reply to Parse::RecDescent - Any Way to do a Negation?

Take a look at the 'reject' keyword. I've not used it myself, but the docs suggest that you can use it to have both successful and unsuccessful matches work. However, as a precaution, because P:RD is inching left-to-right, to get the exact action you need may be impossible.

Dr. Michael K. Neylon - || "You've left the lens cap of your mind on again, Pinky" - The Brain
"I can see my house from here!"
It's not what you know, but knowing how to find it if you don't know that's important

Comment on Re: Parse::RecDescent - Any Way to do a Negation?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2015-10-05 02:00 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (106 votes), past polls