in reply to How can I change the perl program involving if-elsif-else conditional to get correct result?
Have a look at perlop, in particular at the section Operator Precedence and Associativity. It says that the comparision operators are non-associative.
May I ask you what programming language you had used before? Or is Perl your first one?
|
|---|