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