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

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks, I believe this is a simple question, but I ran in troubles when I tried to resolve it. Here is the problem: I've a list of words (a dictionary), and I need to exclude from it all the words that have more than three a, or more than two b, or more than two k. How can this be done? Many thanks for any advise. Best regards, Richard