Help for this page

Select Code to Download


  1. or download this
       push (@threads, threads->new(\&Process_Output, $ssh, $proc ));
       while ( $thread = shift @threads )
       {
           @output=$thread->join();
       }
    
  2. or download this
       $thread = threads->new(\&Process_Output, $ssh, $proc );
       if( $thread )
       {
           @output = $thread->join();
       }
    
  3. or download this
        $thread =  threads->new(\&Process_Output, $ssh, $proc );
        @output = $thread->join();
    
  4. or download this
        @output = threads->new(\&Process_Output, $ssh, $proc )->join();
    
  5. or download this
       @output = Process_Output( $ssh, $proc );