in reply to "if" and compound statement

Your question has already been well and truly answered, but as an aside, the parentheses around the condition with postfix if are optional. So you can write:

statement if 1;

They are not optional for the block form of if though. The following is incorrect:

if 1 { statement; }

It's also worth mentioning that Damian Conway's Perl Best Practices suggests that you never use the postfix form of if, and always use the block form. (PBP #63) I happen to disagree with that particular PBP; most people have some PBPs that they disagree with, but PBP is usually a good starting point when developing your own Perl coding style.