http://www.perlmonks.org?node_id=1053878


in reply to Re^2: HASH error
in thread HASH error

As I'm not the author of that program I can only guess. Please change the line:

my $ref = XMLin($res->content, KeyAttr => "oid");

to the following

my $ref = XMLin($res->content, KeyAttr => "oid", ForceArray => [ 'OBJE +CT' ]);

and give it a try.

McA