For a quick and dirty fix for your problem, you could try
if (ref($var) eq 'ARRAY') { ... } elsif (ref($var) eq 'HASH') { ... } else { ... die "Var is of " . ref($var) . " type and will not be processed"; }
In reply to Re: Help with Parsing XML output
by jellisii2
in thread Help with Parsing XML output
by khrome
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |