http://www.perlmonks.org?node_id=133376


in reply to Excluding words with more than three a

I suggest reading 'perldoc perlopentut', 'perldoc -f grep' and 'perldoc -f tr'. Of course 'perldoc perlrun' might give some clues as to how you might avoid reading 'perldoc perlopentut' (as it's rather long and dull) and simply writing this whole thing as a one-liner from the command line.
  • Comment on (ichimunki) Re: Excluding words with more than three a