Do you know where your variables are? | |
PerlMonks |
Re: XML::Parser - Obtaining Attributes ( ddumper \@_ )by Anonymous Monk |
on Jan 25, 2014 at 00:55 UTC ( [id://1072021]=note: print w/replies, xml ) | Need Help?? |
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 :)
In Section
Seekers of Perl Wisdom
|
|