http://www.perlmonks.org?node_id=1222617


in reply to Re: assigning arrays as values to keys of hash
in thread assigning arrays as values to keys of hash

@{$hash{$_}} = uniq @{$hash{$_}} for keys %hash;

I think
    @$_ = uniq @$_ for values %hash;
is more concise and even easier to read :)


Give a man a fish:  <%-{-{-{-<