$VAR2 =
{ 'dev' =>
[ { 'nfsmount' => { 'bigstor_nfs' => { 'bigstor17_mpt' =>
{
'filer_device' =>
{
'ny_loc' => 'nnap5307-s',
'nj_loc' => 'nydevnfs_bigstor_volC'
},
'filer_volume' =>
{
'ny_loc' => '/vol/bigstor_volC/bigstor
+17',
'nj_loc' => '/vol/bigstor_volC/bigstor
+17'
},
... More here ...
To access 'nydevnfs_bigstor_volC' you would do:
$VAR2->{dev}[0]{nfsmoun}{bigstor_nfs}{bigstor17_mpt}{filer_device}{nj_
+loc}
You can use the iteration logic provided below along with this to reach any element you need.
HTH |