Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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 - mneylon-pm@masemware.com || "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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (11)
As of 2015-07-28 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (258 votes), past polls