Help for this page

Select Code to Download


  1. or download this
      my @sorted = sort {
            $events{$b}{'count'} <=> $events{$a}{'count'}
    ...
        @sorted[$max_wedges..$#sorted] = ('other');
      }
      return [map { {$_ => $events{$_}{'count'}}; } @sorted];