Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

ethan (3163)

ethan
  reversethis-{ed. ... rap.nov.olissat}

Being a 25-year old chap living in the western-most town of Germany. Stuying communication and information science and being a huge fan of XS-related things.

Journal of ethan (3163)

Sunday May 09, 2004
11:54 AM

Back at mod_perling

[ #18680 ]

I am usually not a fan of CGI/mod_perl related programming but sometimes the best solution lies along this path.

My current task is to replace the rather limited league and statistics management of EA SPORT's NHL93 with a better one. I want every possible figure that is either to be found in the league's data files or that can be calculated with some statistical methods to be available. Based upon those values, this thing shall eventually be able to create a follow-up league based upon the previous year's outcome. Roosters shall remain the same minus some obligatory retirements and trades between teams. The players' strengths should be modified so that it reflects their performance in the preceeding season.

Another thing I hope to find out thusly is why some teams are so much better than others although they don't necessarily have better players. For that I calculated the expected value of each strength parameter and its standard deviation for all the players on each team in the hope that this would shed some light on it. It didn't really, so I have to refine my methods and do even more calculations.

Anyway, all this made me install apache2 plus mod_perl2 this afternoon. The installation from source was pleasantly swift and straight-forward. Likewise the configuration after I realized that I had to set PerlResponseHandler in httpd.conf.

Then I installed HTML::Table which I use in connection with CGI.pm's HTML generating functions. I do HTML so seldom that I constantly have to look things up on how to create a form, a table etc. Annoying enough to have libraries create the HTML code for me. Now one has to look very carefully to realize that those are .cgi scripts at all.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.