Help for this page

Select Code to Download


  1. or download this
    my @word = keys %count;
    my @count_word = map{ $count{$_} || 0 } @word;
    
  2. or download this
    my @word = ( (sort { $count{$b} <=> $count{$a} } keys %count) [0..4] )
    +;
    my @count_word = map{ $count{$_} || 0 } @word;
    
  3. or download this
     
    
    #for my $word ( (sort { $count{$b} <=> $count{$a} }  keys %count) [0..
    +4] ) {
    #    #print "$word $count{$word}\n";
    #}
    
  4. or download this
    
    my $data = GD::Graph::Data->new([
    ...
        [@count_word],
    ]) or die GD::Graph::Data->error;
    
  5. or download this
    my $data = GD::Graph::Data->new([
        [@word], 
    ...
        [@count_word_recip], 
    ]) or die GD::Graph::Data->error;
    
  6. or download this
    
    my $logfile_recip = '/tmp/recipients.txt';
    ...
    #]) or die GD::Graph::Data->error;
    
  7. or download this
    
    my $data = GD::Graph::Data->new([
    ...
        [@count_word_recip], 
    ]) or die GD::Graph::Data->error;