Hi, I am trying to use the code below where when the user enters small "e",the program exits,I want to make sure even when the user enters uppercase "E",the program exits.I tried the below but doesnt seem to work.
my $input = <STDIN>; exit if $user_input eq "e|E<Enter>\n";
In reply to User input taking capslock into account by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |