or download this
# note -- it's a scalar ($) not a hash (%)
my $hashref_return_A = correlation(\@primarys_array, \@secondarys_arr
+ay);
# or
# %{ ... } casts a hashref to a list
my (%hashref_return_A) = %{ correlation(\@primarys_array, \@secondarys
+_array) };