Help for this page

Select Code to Download


  1. or download this
    my %ssh;
    my @hosts = qw/ server1.example.com server2.example.com /;
    ...
    for my $host (@hosts) {
      $ssh{$host}->system("@cmd");
    }