Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Renovating Best Nodes

by tilly (Archbishop)
on Feb 15, 2004 at 14:31 UTC ( [id://329121]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # I'm assuming that sth returns a long list of nodes ordered
    # from lowest rep to highest and then newest to oldest.
    ...
        $selected[rand(@selected)] = $row;
      }
    }
    
  2. or download this
    # I'm assuming that sth returns a long list of nodes ordered
    # from highest rep to lowest and then oldest to newest.
    ...
    for (0..($#filler)) {
      $selected[$_] ||= $filler[$_];
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-03-19 11:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found