Help for this page

Select Code to Download


  1. or download this
     use ModuleName qw(moduleFunction);
    @arrayPassedIn = qw(some values here); 
    #there are 9 values, to be specific.
    $return = moduleFunction(\@arrayPassedIn);
    @arrayToPrint = @$return;
    
  2. or download this
    sub moduleFunction{
    $input = shift;
    @arrayToBeManipulated = @$input;
    ...
    @newArray = qw(6 unique values);
    return \@newArray;
    }