in reply to SSHing in multiple servers and execute command on each

This is not Perl specific, but are you aware of GNU Parallel? It can be used with or without Perl. Also, a task like this is unnecessary if you're using statsd, collect, Prometheus, or a number of other statistics gathering tools. Also, good old NetSNMP and an SNMP monitoring system (potentially written in Perl) solves this problem nicely.

None of this is to say that your approach is the wrong wheel. It's just that there's a tire and rim shop next door already.