in reply to Re: Kindly let me know what exactly && does in Perl
in thread Kindly let me know what exactly && does in Perl
If the whole && expression is true can only be known with the last true value, ...
That wording leaves open the possibility that there might be more false values after the "last true value"... perhaps better:
The whole && expression is only true if all its operands are true, in that case the last true value is returned; otherwise the first false value is returned.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Kindly let me know what exactly && does in Perl
by LanX (Saint) on Sep 07, 2014 at 17:27 UTC |