http://qs321.pair.com?node_id=274738


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

printf "%s = %d\n", $_, $count{$_} for keys %count;
greetings, tos