Help for this page

Select Code to Download


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