in reply to SSH to multiple servers

Look at Net::SSH. The module works with ssh keys, not with passwords.

It provides

The latter two would be your candidates, opening multiple connection and using select() to read/write from/to multiple filehandles. See IO::Select or POE for that. If that doesn't suit, here's a discussion about Waiting for multiple filehandles. In that thread there's a note from BrowserUk on how to do that with threads.. ,)

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s,/,($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e,e && print}