in reply to Re: Extract info from a list
in thread Extract info from a list
a little typo in your fine solution
$_ and $count{$_} have to be swapped
greetings, tosprintf "%s = %d\n", $_, $count{$_} for keys %count;
|
---|
In Section
Seekers of Perl Wisdom