411 REFERENCE · Wikibooks
Perl Programming/Keywords/and
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Perl alarm atan2 Keywords
The and keyword
and is a logical short-circuit AND operator that has a very low precedence, but is otherwise equivalent to &&.
Syntax
VALUE and VALUE
Examples
The code
$a = 5; # 0101
$b = 8; # 1000
print $a and $b . ", " . $a && $b . "\n"; prints only the first variable, as it is not false: 5
Perl alarm atan2 Keywords