Looking of a value in blessed hash
<p>I am a begginer in Perl an i am trying to get à value from à blessed hash.</p>

<p>The value is ip adresses, i tried that with no success</p>

<pre><code>print $vm-&gt;guest-&gt;ipStack-&gt;dnsConfig-&gt;ipAddress;

print $vm-&gt;guest-&gt;ipStack{dnsConfig}{ipAddress};
</code></pre>

<p><br/>   </p>

<pre><code>$VAR1 = [
    bless( {

        "ipRouteConfig" =&gt; bless( {

            "ipRoute" =&gt; [

                bless( {
                    "gateway" =&gt; bless( {
                        "device" =&gt; 0,
                        "ipAddress" =&gt; "10.*******"
                    }, 'NetIpRouteConfigInfoGateway' ),
                    "network" =&gt; "0.0.0.0",
                    "prefixLength" =&gt; 0
                }, 'NetIpRouteConfigInfoIpRoute' ),

                bless( {
                    "network" =&gt; "1***********",
                    "gateway" =&gt; bless( {
                        "device" =&gt; 0
                    }, 'NetIpRouteConfigInfoGateway' ),
                    "prefixLength" =&gt; 23
                }, 'NetIpRouteConfigInfoIpRoute' ),

                bless( {
                    "prefixLength" =&gt; 32,
                    "network" =&gt; "10**************",
                    "gateway" =&gt; bless( {
                        "device" =&gt; 0
                    }, 'NetIpRouteConfigInfoGateway' )
                }, 'NetIpRouteConfigInfoIpRoute' ),

                bless( {
                    "prefixLength" =&gt; 32,
                    "gateway" =&gt; bless( {
                        "device" =&gt; 0
                    }, 'NetIpRouteConfigInfoGateway' ),
                    "network" =&gt; "1***********5"
                }, 'NetIpRouteConfigInfoIpRoute' ),

                bless( {
                    "prefixLength" =&gt; 4,
                    "gateway" =&gt; bless( {
                        "device" =&gt; 0
                    }, 'NetIpRouteConfigInfoGateway' ),
                    "network" =&gt; "224.0.0.0"
                }, 'NetIpRouteConfigInfoIpRoute' ),

                bless( {
                    "gateway" =&gt; bless( {
                        "device" =&gt; 0
                    }, 'NetIpRouteConfigInfoGateway' ),
                    "network" =&gt; "255.255.255.255",
                    "prefixLength" =&gt; 32
                }, 'NetIpRouteConfigInfoIpRoute' ),

                bless( {
                    "prefixLength" =&gt; 64,
                    "network" =&gt; "fe80::",
                    "gateway" =&gt; bless( {
                        "device" =&gt; 0
                    }, 'NetIpRouteConfigInfoGateway' )
                }, 'NetIpRouteConfigInfoIpRoute' ),

                bless( {
                    "prefixLength" =&gt; 128,
                    "network" =&gt; "fe80::",
                    "gateway" =&gt; bless( {
                        "device" =&gt; 0
                    }, 'NetIpRouteConfigInfoGateway' )
                }, 'NetIpRouteConfigInfoIpRoute' ),

                bless( {
                    "prefixLength" =&gt; 8,
                    "network" =&gt; "ff00::",
                    "gateway" =&gt; bless( {
                        "device" =&gt; 0
                    }, 'NetIpRouteConfigInfoGateway' )
                }, 'NetIpRouteConfigInfoIpRoute' )
            ]

        }, 'NetIpRouteConfigInfo' ),

        "dnsConfig" =&gt; bless( {
            "dhcp" =&gt; 0,
            "searchDomain" =&gt; [
                "france"
            ],
            "hostName" =&gt; "HOST",
            "ipAddress" =&gt; [
                "10.60****",
                "10.6*****",
                "10.8*****"
            ],
            "domainName" =&gt; "france"
        }, 'NetDnsConfigInfo' )

    }, 'GuestStackInfo' )
]
</code></pre>