in reply to Re: counting words in string
in thread counting words in string

map($hash{$_}++, @names);

You can also use  grep($hash{$_}++, @names); as an alternative to map. (But why would you? :)


Give a man a fish:  <%-{-{-{-<