infix &&
1 | language documentation Operators |
1.1 | (Operators) infix && |
Documentation for infix &&
assembled from the following types:
language documentation Operators
From Operators
(Operators) infix &&
Returns the first argument that evaluates to False
in boolean context, otherwise returns the last argument.
Note that this short-circuits, i.e. if one of the arguments evaluates to a false value, the arguments to the right are never evaluated.
sub asub bsub c ;say a() && b() && c(); # OUTPUT: «0»