binmode STDOUT, ':utf8';
-my $aux_parms = wloh_common::get_auxillary_parameters($dbh);
+my $cgi = CGI->new;
+my $locale = wloh_common::get_locale($cgi);
+
+my $aux_parms = wloh_common::get_auxillary_parameters($dbh, $locale);
my $match_stddev = $aux_parms->{'score_stddev'} * sqrt(2.0);
print CGI->header(-type=>'text/html; charset=utf-8', -expires=>'+5m');
</tr>
EOF
-my $cgi = CGI->new;
-my $locale = wloh_common::get_locale($cgi);
my $season = wloh_common::get_max_season($dbh, $locale);
# Pick up all the subdivisions' ratings.