in reply to Re^2: Silly While Loop Problemsin thread Silly While Loop Problems
Don't do print "$yn";.
Do print "##$yn##\n"; or similar instead. That lets you see whitespace characters