Help for this page

Select Code to Download


  1. or download this
    $pssh->push('*', 'command', { stderr_to_stdout => 1,
                                  stdout_file => ['|-', 'perl', '-ne', 'pr
    +int "%HOST%$_\n"'] },
                                  $cmd );
    
  2. or download this
    require POSIX;
    
    ...
    
    close $_ for values %fh;