Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

references best practice

by bende (Acolyte)
on Apr 25, 2008 at 09:09 UTC ( [id://682769]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @data = prepData();
    
    ...
        #create array of hashes
        return @data;
    }
    
  2. or download this
    my @data;
    prepData(\@data);
    ...
       my $refData = shift;
       #do data generation;
    }
    
  3. or download this
    my $refData = prepData();
    for my $item (@$refData) {
    ...
        return \@data;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2024-04-16 18:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found