next if $results{$val} and $hash->{$key1} and $hash->{$key1}->{$key2}; [download]
In reply to Re^3: hash from CSV-like structure by jZed in thread hash from CSV-like structure by manav_gupta