}foreach $word (split){ if($word =~ /^[a-zA-Z]([a-zA-Z]*|-[a-zA-Z])*$/){ $count{$word}; }
In reply to Re: Re: Sorting words, keeping only words that start with a letter and contain only letter characters, and hypens, and end in a letter
by Anonymous Monk
in thread Sorting words, keeping only certain words
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |