Greetings all,
With just a quick glance at your code I would suggets changing your line:
my @player_rec = split '|';
to
my @player_rec = split /\|/;
since
split takes a regular expression pattern rather than a string, unlike
join.
If that doesn't help you can also limit the amount of elements the split returns to you by using the
split /PATTERN/,EXPR,LIMIT
form of the function.
-InjunJoel
"I do not feel obliged to believe that the same God who endowed us with sense, reason and intellect has intended us to forego their use." -Galileo