That is because all of the $f_stdout values derived from the same SSH connection are the same handle. You will need a separate SSH channel for each individual traceping. Look at the "connection multiplexing" features in OpenSSH for more.
Edit: So Net::OpenSSH already implements multiplexing, so the problem is something else.
In reply to Re: net::OpenSSH several commands, stdout are mixed up
by jcb
in thread net::OpenSSH several commands, stdout are mixed up
by Bolemo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |