- or download this
sub getHTML {
my( $Qin ) = @_;
...
retrieveInfo( $content );
}
}
- or download this
sub listParse {
my( $url, $Qout ) = @_;
...
## Push 1 undef per thread to terminate their loops
$Qout->enqueue( (undef) x $noOfThreads );
}
- or download this
## Join the threads
$_->join for @threads;