Help for this page

Select Code to Download


  1. or download this
    foreach (@phrase) {
      $wordfreq{$_}++;
    }
    
  2. or download this
    for (my $i=0;$i<=$#phrase;$i++) {
      $wordfreq{$phrase[$i]}++;
    }