in reply to Re: passing arrays to subroutinesin thread passing arrays to subroutines
# an array, any array
my @bunchOfData = ();
# Subroutine: trythis - shows how to pass an array
my @array = @_;
# where the subroutine is called to do something with the array
Frying pan on the stove
Results (327 votes). Check out past polls.