You appear to be using XML::Simple (or something with the same interface). You are discouraged from using XML::Simple (by its own documentation) because of its awful interface. See Why is XML::Simple “Discouraged”? for more information.
By using a better parser (such as XML::LibXML), the problem goes away:
my @results = $xpc->findnodes('result/value', $item_node);
In reply to Re: hashref with(out) arrays
by ikegami
in thread hashref with(out) arrays
by bfdi533
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |