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 2012-03-05 22:54:54.154365-08 by mirod in response to 13660
Re: Passing XML twig element to another subroutine

Did you try:

$grandchild->att('weapon')

? There is no need for a method call on the attribute, att already returns its value. To set an attribute, use set_att

$grandchild->set_att( weapon => "pitchfork")

Have you seen the Quick ref card? xmltwig.org/xmltwig/quick_ref.html

Direct Responses: 13739 | Write a response