Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

sort_top explained

by dada (Chaplain)
on Mar 09, 2004 at 11:51 UTC ( [id://335060]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     1: sub sort_top {
     2:     my($top, $func, @arr) = @_;
    ...
    15:     }    
    16:     return @top;    
    17: }
    
  2. or download this
    my @array = (8, 7, 1, 5, 4, 2, 10, 6, 9, 3);
    
  3. or download this
    my @top = (1, 7, 8);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-04-19 13:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found