Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Loop that creates multidimensional array?

by fishmonger (Friar)
on Sep 12, 2013 at 19:11 UTC ( #1053785=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Loop that creates multidimensional array?
in thread Loop that creates multidimensional array?

No need to copy the 2 items to a new array.

while (my $row = $sth->fetchrow_arrayref) { push @{ $players[$count] }, $row->[0], $row->[4]; }


Comment on Re^3: Loop that creates multidimensional array?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1053785]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (17)
As of 2015-07-02 17:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (44 votes), past polls