Hi ,
$UniverseOfHashes{$asnHash}{risk} = $queueNsp[2];
should be in the loop . You are trying to get the reference of hash to have a key of $asnHash and not the Hash itself which is symbolic and not the referred Hash by itself , Hece should use the second element as the key of the hash itself .