Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: HASH error

by Anonymous Monk
on Sep 13, 2013 at 09:09 UTC ( [id://1053872]=note: print w/replies, xml ) Need Help??


in reply to HASH error

..dumper...

Next Dumper values %{$ref->{OBJECT}} cause none of those things are a hash with a name key

Replies are listed 'Best First'.
Re^2: HASH error
by Sententiosus (Initiate) on Sep 13, 2013 at 11:36 UTC
    $VAR1 = { 'OBJECT' => { 'PROPERTY' => [ { 'content' => 'error', 'name' => 'response-type' }, { 'content' => '1', 'name' => 'response-type-numeric +' }, { 'content' => 'Unauthorized acces +s requested', 'name' => 'response' }, { 'content' => '6', 'name' => 'return-code' } ], 'oid' => '1', 'name' => 'status', 'basetype' => 'status' } }; Not a HASH reference at ./hp-msa.pl line 44.

    Line 44

      if ($oid->{name} eq $objectName) {

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-19 13:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found