- publishing free software manuals
Perl Language Reference Manual
by Larry Wall and others
Paperback (6"x9"), 724 pages
ISBN 9781906966027
RRP £29.95 ($39.95)

Sales of this book support The Perl Foundation! Get a printed copy>>>

7.14 Bitwise And

Binary "&" returns its operands ANDed together bit by bit. (See also 7.37 and 7.36.)

Note that "&" has lower priority than relational operators, so for example the brackets are essential in a test like

print "Even\n" if ($x & 1) == 0;
ISBN 9781906966027Perl Language Reference ManualSee the print edition