in reply to Re^2: conditional statement works one way, but not the other
in thread conditional statement works one way, but not the other (Updated)
If you feel the need to write condensed code to not obscure the structure of your code, you might be better served by giving parts of your program well-chosen names (in the form of subroutines or methods).
That way it's easier to understand the bigger picture, and you don't need to condense code, because each subroutine will be much smaller.
In Section Seekers of Perl Wisdom