Re: Re: If...Or...Else
| From: | Thomas Goyne | Date: | Mon, 26 Jul 2004 08:48:04 +0000 |
| Subject: | Re: Re: If...Or...Else | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191870@lists.php.net to get a copy of this message | ||
On Mon, 26 Jul 2004 11:11:21 +0300, Skippy <skippy@zuavra.net> wrote:
Quoting Thomas Goyne <Knightking@smempire.org>:IIRC each operator in perl uses the predence they have in thier language of origin. (|| from C, or from batch scripting) That may be completly wrong, as its been a while since I've touched perl. -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/On Sun, 25 Jul 2004 23:15:41 +0300, Skippy <skippy@zuavra.net> wrote:Any idea why the need to have two logical operators with the same meaning BUT different precedences? I dig the need to put in OR as an alias, butwhyconfuse people with the precedence issue? One would tend to think ||andOR are perfectly interchangeable.Perl compatibility.What good is the confusion in Perl then?