I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
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