Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2025-03-26 14:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (68 votes). Check out past polls.

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.