&&

(thing) by DoctorPhil Sat Apr 15 2000 at 21:38:12

Perl's way (and prolly many other programming languages) way and saying and. Of course you could just use "and", confused ?

(thing) by rp Sun Jul 09 2000 at 0:48:13
Two &s because a single & is bitwise and.

Perl borrowed this from /bin/sh, and with it, the option to and statements:

if test -n "$1"
then
  echo $0: missing argument 1>&2
  exit 1
fi
can also be written as
test -z "$1" &&
  { echo $0: missing argument 1>&2; exit 1; }
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.