I have perl structure:
$rncid and $wbtsid (keys) are numeric and I would like to sort by $rncid and then for bts id.
I tried:
It sorts per rncid, but not for wbtsid
Any ideas
dmazzini
GSM/UMTS System and Telecomm Consultant
Code:
@{$DATA->{RNCID}{$rncid}{$wbtsid}}
$rncid and $wbtsid (keys) are numeric and I would like to sort by $rncid and then for bts id.
I tried:
Code:
foreach $rncid (sort {$a cmp $b}(keys %{$DATA->{RNCID}})){
foreach $wbtsid (sort {$a cmp $b} keys %{$DATA->{RNCID}{$rncid}}){
print "@{$DATA->{RNCID}{$rncid}{$wbtsid}}\n";
}
}
It sorts per rncid, but not for wbtsid
Any ideas
dmazzini
GSM/UMTS System and Telecomm Consultant