in reply to XML::Parser - Obtaining Attributes

The code which checks if %attrs is empty or not never produces anything, and I don't understand where I'm going wrong.

You forgot to Data::Dump::dd(\@_)umper to see what you have ...

I assume whatever you have, the documentation explains where to get the rest ( %_ )

mwahahaha

:) Anyway, XML::Parser is very low level, those who aren't smart enough to figure it out on their own need to suffer :)

:) The Twig and the Rules are where you should go :)

  • Comment on Re: XML::Parser - Obtaining Attributes ( ddumper \@_ )