Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Complex Sort - using varying numbers of parameters

by George_Sherston (Vicar)
on Jul 04, 2002 at 12:08 UTC ( [id://179436]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        for my $h (@Tree) {
            print "$_ " for @{$h->{Path}};
            print "\n";
        }
    
  2. or download this
    5 32 37
    5 32 38
    ...
    3 12 11 19
    5 32 35
    5 32 36
    
  3. or download this
    0 
    1 2 
    ...
    5 32 41 
    5 32 42 
    5 32 43
    
  4. or download this
        for (5..0) {
            @Tree = sort {
            $a->{Path}->[$_] <=> $b->{Path}->[$_]
        } @Tree;
        }
    
  5. or download this
        for my $page (@Tree) {
            my $Sort = 0;
    ...
        }
    
        @Tree = sort {$a->{Sort} <=> $b->{Sort}} @Tree;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-25 21:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found