in reply to "if" and compound statement

From perlsyn:
Any simple statement may optionally be followed by a SINGLE modifier, just before the terminating semicolon (or block ending).
Emphasis mine (not upper-case).