in reply to using push

Your problem's not with push, it's in your for loop.

When you use something like foreach (@thescore) each element of @thescore is placed into the "default" variable, $_, unless you tell it different.

So, something like

foreach (@thescore) { print $_, "\n"; }
would work for what you have above.

If you specifically wanted to assign the data to, for example, the $score variable, you can do this by specifying the variable when you define the loop:

foreach my $score (@thescore) { print $score, "\n"; }
Hope that helps a little.
-- Foxcub