Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: HASH error

by McA (Priest)
on Sep 13, 2013 at 10:10 UTC ( #1053878=note: print w/ replies, xml ) Need Help??


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


Comment on Re^3: HASH error
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1053878]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2015-07-05 18:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls