- or download this
@all = (\@foo, \@bar);
return @all;
- or download this
return \@foo, \@bar;
- or download this
print (1, 2, 3, 4);
# and
print 1, 2, 3, 4;
- or download this
my ($aryref1, $aryref2) = subroutine();
# or if you want the longer way.
my $aryref1;
my $aryref2;
($aryref1, $aryref2) = subroutine();
- or download this
my $ret = subroutine();