Thanks guys but chomp didn't solve my problem, the strange thing is that if i put a print "$yn"; in the loop it prints the input just fine.
Do you wish to continue the installation (Y/N) : y y Invalid option, please enter an Y or N : n n Invalid option, please enter an Y or N : Y Y Invalid option, please enter an Y or N : N N Invalid option, please enter an Y or N :
In reply to Re^2: Silly While Loop Problems
by Anonymous Monk
in thread Silly While Loop Problems
by gsus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |