One really minor thing I'd do differently: Rather than split on whitespace and then check length, just match 3 or more non-whitespace characters:
#foreach my $word (split /\s+/, $line) { # length($word) > 2 and $count_of{$word}++; #} $count_of{$_}++ for $line =~ /\S{3,}/g;
In reply to Re: Simple Keyword Generator
by hbm
in thread Simple Keyword Generator
by itsscott
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |