This error happens when a conditional is used in the while() statement.
In reply to Re^5: how do I "initialize" $_ by Marshall in thread how do I "initialize" $_ by Anonymous Monk