in reply to Map multiple xml tags to array
I think this line is your problem:
my @players_list = \$players;
If $players is a hashref, and you want to build an array of hashrefs, you should do something like this:
push(@players_list, $players);
If you want to convert a hashref into an array, you would do something like this:
@players_list = @{ %$players };
Note that the hash "names" will be at indexes 0,2,4,6... and the hash "values" will be indexes 1,3,5,7...
I hope that helps!
In Section
Seekers of Perl Wisdom