in reply to Help with Parsing XML output
Since you are pressed for time, I'd suggest changing your XMLin to:
And keeping your "foreach my $cat(.." intact.my $xml = new XML::Simple (KeyAttr=>[], ForceArray => [ 'category' ],);
Profanity is the one language all programmers know best.
|
---|
In Section
Seekers of Perl Wisdom