You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
@opinions = qw( A b c d e f g h jk r e r t r e e e e e ww );
|
|
|
|
foreach ( @opinions ) {
|
|
++$hash{ $_ };
|
|
}
|
|
|
|
print "Word\tFrequency\n";
|
|
print "----\t---------\n";
|
|
|
|
foreach ( sort keys( %hash ) ) {
|
|
print "$_\t", "*" x $hash{ $_ }, "\n";
|
|
}
|