do { print "\nPick a letter between a and d.\n "; chomp($reply = ); } while (lc $reply ne ('a' .. 'd'));