$answer =~ m/^[YyNn]/; /R
"Vuctor Akinnagbe" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > How do I challenege more than one variable like I want to check for the input of Y N y or n for a yes no question. I put until $answer =~ m/YyNn/ that did not work. Anybody have any solutions? > > > --------------------------------- > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]