(beware of buffering problems as well. You might want to try a $foundry->autoflush(1) in there...)
A better solution for these kinds of problems (conversations) is to use the Expect module. It's built for these kinds of things.
In reply to Re: perl talking to a load balancer
by clintp
in thread perl talking to a load balancer
by cheddarbastard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |