Help for this page

Select Code to Download


  1. or download this
    use Proc::Queue size => 3;
    my $mech = WWW::Mechanize->new(timeout => 90);
    ...
        }
        1 while waitpid(-1, WNOHANG)>0; # reaps childs
    }
    
  2. or download this
    use Proc::Queue size => 3;
    while (@urllist) {
    ...
        }
        1 while waitpid(-1, WNOHANG)>0; # reaps childs
    }