Class definitions behavior

Simon Hobson dhcp1 at thehobsons.co.uk
Wed Sep 8 21:03:49 UTC 2010


Adam Moffett wrote:

>How about this:  I can avoid the issue with a more complex match, 
>but It complains at me if I have more than one match clause in a 
>class.  Is there a syntax for "and" and "or" in a match?  Anyone?

Well, you could try using "AND" and "OR", and nesting with 
parentheses to ensure correct evaluation. Try "man dhcp-eval" for 
more details.

-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.



More information about the dhcp-users mailing list