XP is just a number | |
PerlMonks |
Re^4: XML::Twig - how can I test for an attribute when the attribute value is 0?by Anonymous Monk |
on Aug 30, 2012 at 07:06 UTC ( [id://990660]=note: print w/replies, xml ) | Need Help?? |
Did you read mirod's post? What difference would that make? Did you read mirod's post? In what way do you think it answers the OPs question? philiprbrenan showed one answer (using ->att) 10 min after the OP asked kcott showed the other answer (using ->atts) the next day 2 hours later Khen1950fx digs up a post by mirod copy/pastes the code -- even though it doesn't answer the OPs question, same as mirod's entire post Sure atts could be part of the answer, but it isn't. The OP already knew how to deal with attributes (att), and hey, kcott already showed how to use atts to solve the OPs problem.
In Section
Seekers of Perl Wisdom
|
|