Hello hveneticus,
Welcome to wonderful world of Perl. your question in not that much related to Perl. I would recommend to you to take a look on the Perl module Net::OpenSSH::Parallel.
With this module you can create parallel ssh connections apply your commands and collect the data in parallel. How? Glad you ask, here are some examples that I have done for related questions Net::OpenSSH::Parallel with sudo commands, multiple machines disk space alert and Best module to execute administrator commands on external operating systems (Linux).
Hope this helps.
In reply to Re: perl, ssh and grep
by thanos1983
in thread perl, ssh and grep
by hveneticus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |