in reply to Re: Counting unique instances from Array Sort
in thread Counting unique instances from Array Sort

I am not sure if I follow. What I am trying to do is take:
my @ipAddresses = ("172.16.16.1 ", "172.16.16.1 ", "172.16.16.1 ", "17 +2.16.16.2 ");
and be able to print something like this while / after the sort:
172.16.16.1,3 172.16.16.2,1
Thanks!