Oh!! I generally dont like to use the "until" block .. but as you said, this may be a situation that's ideal for its use. If in case I'd want to write this with a while block, would this logic given below work?
while(!(($worker1Finished eq "true")&&($worker2Finished eq "true"))) { print "."; sleep(1); }
Am just trying to learn the different cases for using the "while" and "until" constructs ... So, please give me your suggestions/advice.
In reply to Re^2: Short circuits in Logical AND (&&)
by vishi
in thread Short circuits in Logical AND (&&)
by vishi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |