in reply to Tie::Hash::MultiValue Unique question

die("Already in hash") if exists($hash{$key}); $hash{$key} = $val;

exists