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: <%-{-{-{-<
In Section
Seekers of Perl Wisdom