http://qs321.pair.com?node_id=1211037


in reply to Re: Simple Q. for You
in thread Simple Q. for You

P.S. Exactly the same sort of short-circuit behavior occurs with regard to logical-OR, "||". If the left-hand side is determined to be true, the right-hand side is skipped since "True OR anything" is always True. You most-often see this in Perl as something like open(FD) or die("can't open"). If the file is opened successfully, the code won't die, and vice-versa.