die("Already in hash") if exists($hash{$key}); $hash{$key} = $val; [download]
exists
In reply to Re: Tie::Hash::MultiValue Unique question by ikegami in thread Tie::Hash::MultiValue Unique question by elsubliminal