Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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: (5)
As of 2015-03-01 12:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    On my keyboard, Caps lock is:








    Results (468 votes), past polls