mpapec
  • GitHub
  • Croatia
  • Member for 7 years, 9 months
Stats
949
reputation
156k
reached
5
answers
21
questions
Loading…
About

Handcash ☕ tips 😊

Users with best score/answer ratio

perl -MpQuery -MData::Dumper -e '*Q = *pQuery;
print Dumper map [
    sort { $b->{ratio} <=> $a->{ratio} }
    map {
        @h{qw(s a u)} = map Q($_)->text,
          @{ Q($_)->find("td") };
        s/k// and $_ *= 1000 for @h{qw(s a)};
        $h{ratio} = $h{s}/$h{a};
        +{%h};
    } @{ Q($_)->find("tr") }
], @{ Q(pop)->find(".fl") }[0,1];
' http://stackoverflow.com/tags/perl/topusers
2
gold badges
9
silver badges
21
bronze badges

Top tags (29)

Score 8
Posts 2
Posts % 8
Score 2
Posts 10
Score 2
Posts 3
Score 2
Posts 3
Score 1
Posts 4
Score 1
Posts 2

Top posts (26)

View all questions and answers