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 reply to Re: Help with Parsing XML output
by NetWallah
in thread Help with Parsing XML output
by khrome
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |