http://www.perlmonks.org?node_id=228828


in reply to Pass local array by reference?

Yes it is. Are you experiencing problems doing this? If so, please post at least a snippet of your code so we can try and help.

Depending on the size of @array, you may want to pass it by reference. You do this by using \@array. You may want to look at perldoc perlreftut for more information.