in reply to Re^3: Perl Module Problems
in thread Perl Module Problems

Bingo! When dealing with the maps of multiple games, you may want to consider a Hash of Arrays (HoA).
my %maps; foreach my $game (qw( cstrike ... )) { $maps{$game} = [ MAP::get_game_maps($game) ]; }