Help for this page

Select Code to Download


  1. or download this
    my $q  = Thread::Queue->new();
    my $pq = Thread::Queue->new();
    ...
            $thr->join();
        }
    }
    
  2. or download this
        while ( my $org = $q->dequeue() ) {
    
            parse_org( $org, $mech );
            $pq->enqueue($org);
        }