in reply to YARQ:Yet another reference question
my ($arr1,$arr2) = &sub(); sub { return \(@arr1, @arr2); } [download]