in reply to and vs &&
To eliminate doubts about the right hand condition evaluating to an anonymous list with one entry of the value 0, which evaluates to true I would like to append the following;
$ perl -e 'my $a=(1 == 1) and 0;print "$a\n";' 1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: and vs &&
by chromatic (Archbishop) on Feb 12, 2009 at 07:35 UTC | |
by marcussen (Pilgrim) on Feb 13, 2009 at 00:47 UTC |