in reply to Re^2: help with simplifying program
in thread help with simplifying program

Your proposal gets less combinations! I admit that using unless and != is rather confusing but it is correct. It translates into

next if $dwx == $dxy and $dxy == $dyz;

which I should have used in the first place.

Replies are listed 'Best First'.
Re^4: help with simplifying program
by Anonymous Monk on May 24, 2013 at 12:54 UTC
    you are correct. I didn't pay enough attention to the unless. That will teach me to be more careful.