Make sure you put it inside the loop. The "{ }" brackets contain everything that's inside of your loop.
In reply to Re^3: Removing blank/empty lines
by thmsdrew
in thread Removing blank/empty lines
by perlnoobster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |