Help for this page

Select Code to Download


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