<(common.inc.plp)><:
-my $datafile = 'sc-units.inc.pl';
+my $scver = 'bw';
if ($ENV{PATH_INFO} and $ENV{PATH_INFO} eq '/2') {
- $datafile = 'sc2-units.inc.pl';
+ my $scver = 'hots';
}
+my $datafile = "sc-units-$scver.inc.pl";
Html({
title => 'starcraft unit cheat sheet',