in reply to Re^4: how do I "initialize" $_
in thread how do I "initialize" $_

I did figure this out at Re^3: First attempt at bringing in file for input/output.

This error happens when a conditional is used in the while() statement.