fit what you're looking for?unless ($condition1 && $condition2) { #Block2 } else { #Block1 }
-Scott
Update: Had the blocks reversed originally
2nd Update: Which was correct, and I'd managed to confuse myself validating it.
In reply to Re: Better solution for code reduction?
by 5mi11er
in thread Better solution for code reduction?
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |