sub my_function { my $arr_ref = shift; ... }