Help for this page

Select Code to Download


  1. or download this
    while( my $r = $qr->dequeue ) {
        ++$count;
    ...
            $t = time;
        }
    
  2. or download this
        elsif (($count & 63) == 0) {
            if (time > $t + 5) {
    ...
            }
        }
    }
    
  3. or download this
    perl -E"$s=time(); $i=0; ++$c, rand()*rand() while time() < $s+5; say 
    +$c/5"
    3210038.8