Yet, from your source code, it seems that the failover() sub is called from only when all of the other actions in run() are done.
Is this part of a larger, multithreaded script? Or do you mean that failover() executes before down_ip.pl finishes on the other host?
CU
Robartes-
In reply to Re: Waiting for one Sub to Exit First
by robartes
in thread Waiting for one Sub to Exit First
by Dru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |