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

Re^2: How would I sort a two-dimensional array by multiple columns?

by dbmathis (Scribe)
on Mar 16, 2008 at 15:06 UTC ( [id://674460]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while ( @row = $sth->fetchrow_array ) {
        push @x, [ @row ];
    }
    
  2. or download this
        $rindex = 0; $i = 1;
        do {
    ...
            }
            $rindex += 1; $i += $nun_of_questions;
        } while ( $i <= $#x );
    
  3. or download this
    Use of reference "ARRAY(0x10b5810)" as array index at /home/dmathis/qw
    +est_qqs/transpose-qqs-dev line 367.
    Use of reference "ARRAY(0x10b5810)" as array index at /home/dmathis/qw
    +est_qqs/transpose-qqs-dev line 367.
    ...
    ................
    ................
    ................
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2024-04-23 09:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found