in reply to Help Pass array as function params

You could shorten the code (Save keystrokes) by replacing
foreach (@ {$count}) { print "$_! \n"; }
with
print "$_! \n" for @$count;
If you are just getting started with Array references the link to "Converting an Array Reference into an Array" may provide enlightenmet.

    Earth first! (We'll rob the other planets later)