in reply to Re^2: Silly While Loop Problems
in thread Silly While Loop Problems

Don't do print "$yn";.

Do print "##$yn##\n"; or similar instead. That lets you see whitespace characters