The very first line of the documentation for Statement Modifiers (i.e. the postfix forms of if, unless, foreach, while, etc) says:
Any simple statement may optionally be followed by a SINGLE modifier, just before the terminating semicolon (or block ending).
In reply to Re: foreach loop on one line
by tobyink
in thread foreach loop on one line
by halecommarachel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |