Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 perusing the Monastery: (6)
As of 2014-12-22 08:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (112 votes), past polls