in reply to Re^5: Team Player Timeline
in thread Team Player Timeline
Also modified code for eliminating empty rows. It works great.my $player_count = 0; open(IN, "players"); while(<IN>){ ($player,$years) =split /\t/; my($start,$end) = split /\-/,$years; $player_count++; foreach my $year ($start..$end){ push @{$games[$year]},$player_count; } }
|
|---|