in reply to In what order is a compound IF evaluated?

The notion you have here is 'short-circuiting' the evaluation. The 'if' evaluation works from the left and stops as soon as it determines that the final value does not depend on any of the clauses to the right. (One false with a string of and'd clauses is all you need. Ditto for one true and or'd clauses. It's the mixed logics that get you every the time....)
if (($x eq 'c'}&&($y eq 'd')&&($z eq 'e')){ }
If $x ='One', then the tests for $y and $z will be skipped, it does not matter what they are, the result is a big False. If you arrange the clauses in your compound 'if' in the order (roughly) of frequency, you will get the most speed out of it.

That said, from a maintenance point of view, compound booleans are a pain to muck with unless the original author did something nice with the indentation. For example --

if ( ($x eq 'a') && ($y eq 'b') && ($z eq 'c') ) { }
I much prefer to cope with a switch statement or a cascade of if/elsif/else's when I have to trouble shoot some old code. It make the logic a bit clearer (to my mind), and makes adding another condition much easier.

----
I Go Back to Sleep, Now.

OGB