in reply to Re: Self-Looping over hash - how to remove duplicate
in thread Self-Looping over hash - how to remove duplicate

Hi, thanks for the reply,
but your code gives:
$VAR1 = { '1-1' => 2, '3-1' => 10, '4-1' => 4, '1-3' => 10 };

Notice that 2-2, 3-3, and 4-4 is not included