in reply to Re: Usage of hashes with hashes when mulitple values are present
in thread Usage of hashes with hashes when mulitple values are present
. Here w is a hash variable . for each cell we will be retrieving its corresponding frequency and sc value in following format repectively :# Get the list of cells, which has same frequency and SC Id # $t = $w{$_}{frequency} .':'. $w{$_}{sc}; push(@{$w{$t}{cells}}, $_);
The above piece of code will collect all the cells which fall in that frequency and sc value .. SO when we give data dumper we will get as follows ::$w{$_}{frequency} and $w{$_}{sc}
Please let me know how to retrieve the values taht are in array .'-1:130' => { 'cells' => [ 'SubNetwork=ONRM_ROOT_MO_R,SubNet +work=RNC12,MeContext=RNC12,ManagedElement=1,RncFunction=1,UtranCell=R +NC12-8-2' 'SubNetwork=ONRM_ROOT_MO_R,SubNetwork=RNC12,MeContext=RNC12,ManagedEle +ment=1,RncFunction=1,UtranCell=RNC12-8-8' ] },
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Usage of hashes with hashes when mulitple values are present
by lune (Pilgrim) on Dec 02, 2013 at 11:05 UTC | |
by Bhagya (Initiate) on Dec 03, 2013 at 04:06 UTC |