Beefy Boxes and Bandwidth Generously Provided by pair Networks
"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??


in reply to Re: Re: Re: Can If-then conditions do ($a = $b = $c) type expressions?
in thread Can If-then conditions do ($a = $b = $c) type expressions?

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?

_ _ _ _ _ _ _ _ _ _
- Jim
Insert clever comment here...

  • Comment on Re: Re: Re: Re: Can If-then conditions do ($a = $b = $c) type expressions?
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://162896]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-04-19 08:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found