Title: Count how often a certain element occurs in an array

Hi,

It might be a silly question, but I am new to perl and I need to solve the following problem

- I have a list with approx. 400000 names

for example:
Christian
Sally
Christian
Klaus
....

Now I need to know how often each name appears in the list. Could anybody help me doing this with a perl script?

Thanks
Heiko

Reply via email to