in reply to Re: Short circuits in Logical AND (&&)
in thread Short circuits in Logical AND (&&)
however, for the cost of one extra & character (I can supply them very cheaply if you are running out) you can write:
until ($worker1Finished && $worker2Finished) { ... }
which will work nicely for all Perl's various true and false values (including not complaining about undef values under strictures).
|
|---|