in reply to extract number of times a value appears in an array
And if it's not a homework assignment, it would be a good idea to provide some code first, to show how you've attempted to go about it solving it. (But why are you trying to do this in Perl in the first place, if you have not encountered hashes before??)
In any event, try reading up on hashes first. A good start might be perlintro.
|
|---|