in reply to Better solution for code reduction?

if ( $condition1 && $condition2 ) { # Block 1 } else { # Block 2 }

???
--------------
It's sad that a family can be torn apart by such a such a simple thing as a pack of wild dogs