Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Renovating Best Nodes

by tilly (Archbishop)
on Feb 15, 2004 at 14:31 UTC ( #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
Node Status?
node history
Node Type: note [id://329121]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2014-09-20 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (156 votes), past polls