Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Leaking Function Return

by cgoolsby (Novice)
on Oct 06, 2017 at 15:05 UTC ( [id://1200833]=perlquestion: print w/replies, xml ) Need Help??

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;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1200833]
Approved by stevieb
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2024-04-23 10:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found