# my @temp = foo; my $ref = [ @temp ]; my $ref = [ foo ]; # ($a, $b) = \(@a, @b); return $a, $b; return \(@a, @b);