"be consistent" | |
PerlMonks |
Re: Re: Re: Re: Can If-then conditions do ($a = $b = $c) type expressions?by snafu (Chaplain) |
on Apr 29, 2002 at 18:49 UTC ( [id://162896]=note: print w/replies, xml ) | Need Help?? |
Right. I was meaning more in the hypothetical sense. I realize as Perl is now, these expressions wouldn't work. However, hypothetically or mathematically the expression (($var1 == $var2) == $var3) would be the same as Perl's ( $var1 == $var2 && $var1 == $var3 ), right? In other words, the precedence is the same, isn't it?
_
_
_
_
_
_
_
_
_
_
In Section
Seekers of Perl Wisdom
|
|