Help for this page

Select Code to Download


  1. or download this
        my @names_and_rates = map { [ $_->{name}[0], $_->{data}[0] ],[ $_-
    +>{name}[1], $_->{data}[1] ] } @alldata;
        @maxref = sort { $b->[1] <=> $a->[1] } @names_and_rates;
        foreach (@maxref[0 .. 2] ) { print $_->[0], "\t\t", $_->[1]*8, "\n
    +<BR>";    }
    
  2. or download this
        my @maxtmp = sort { $b->{data} <=> $a->{data} } @alldata; 
        my @names_and_rates = map { [ $_->{name}, $_->{data}->[0] ],[ $_->
    +{name}, $_->{data}->[1] ] } @maxtmp;
        @maxref = sort { $b->[1] <=> $a->[1] } @names_and_rates;
        foreach (@maxref[0 .. 2] ) { print $_->[0], "\t\t", $_->[1]*8, "\n
    +<BR>";    }
    
  3. or download this
        my @names_and_rates = map { [ $_->{name}, $_->{data}->[0] ],[ $_->
    +{name}, $_->{data}->[1] ] } @alldata;
        @maxref = sort { $b->[1] <=> $a->[1] } @names_and_rates;
    
    #this next bit just prints the top three
        foreach (@maxref[0 .. 2] ) { print $_->[0], "\t\t", $_->[1]*8, "\n
    +<BR>";    }