Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Learning to *really* love references

by astaines (Curate)
on Jul 29, 2002 at 23:44 UTC ( [id://186106]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    process($data_ref,\@set_up,$template,*OUT);
    # Process
    ...
        foreach my $record (@data) {
            --do things--}
    }
    
  2. or download this
        my $data_ref = shift;     #Big array
    
        foreach my $record (@{$data_ref}) {
            -- do things more efficiently --
                    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2024-03-28 15:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found