Help for this page

Select Code to Download


  1. or download this
    #callMult returning an array and a scalar
    my @ret = callMult();
    my $foo = pop @ret;
    
  2. or download this
    sub callMult {
      return \@result, $count;
    ...
    $result->[$i]; # to access the array elements
    # or
    @result_array = @$result; # to dereference it