in reply to Confusion due to hash
%hash = (10 => 1, 20 => 1, 30 => 2); [download]
Can you elaborate?