Posted on 2007-07-04 18:17:06-07 by dbmathis
Checking a twig root for existence of element?
Hi,

I have been trying to figure out how to check a twig root for the existence of an elemet for the past day and I must be overlooking the obvious.

I have an array that contains a list of elements that I want to check the twig root for the existence of each. If any of the elements listed in the array don't exist in the root I just want a return value of 0 or 1 or whatever so that I can exit my program completely.

I know this has to be possible. I will keep reading, but I figured it wouldn't hurt to ask here.

Best Regards
Direct Responses: 5641 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.