sub myfunc { my $arrRef = shift; # do my stuff here }