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 sub trythis { my @array = @_; print "@array\n"; } # where the subroutine is called to do something with the array &trythis(@bunchOfData); [download]
www.com | www.net | www.org
Yes No
Results (81 votes). Check out past polls.