Re: Delimiter Question

2003-01-10 Thread John W. Krahn
Mark Goland wrote: > > From: "John W. Krahn" <[EMAIL PROTECTED]> > > > Mark Goland wrote: > > > > > > the way you did it, would need to use or operator > > > $answer =~ m/Y|y|N|n/ > > > you probebly want to check if thats the only thing entred, > > > > > > $answer =~ m/^yn$/i > > > > > > ^ begins

Re: Delimiter Question

2003-01-10 Thread Mark Goland
Whoops. $answer =~ m/^y|n$/i :O) - Original Message - From: "John W. Krahn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 10, 2003 2:38 PM Subject: Re: Delimiter Question > Mark Goland wrote: > > > > > How do I challene

Re: Delimiter Question

2003-01-10 Thread John W. Krahn
Mark Goland wrote: > > > 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? > > the way you did it, would need to use or operator > $answer =

Re: Delimiter Question

2003-01-10 Thread Mark Goland
"Perl" <[EMAIL PROTECTED]> Sent: Thursday, January 09, 2003 10:21 AM Subject: RE: Delimiter Question > I think you mean $answer m/[YyNn]/ > > yours is looking for $answer to contain "YyNn" > the brackets mean any one of the following. > > > -Ori

RE: Delimiter Question

2003-01-09 Thread Paul Kraus
I think you mean $answer m/[YyNn]/ yours is looking for $answer to contain "YyNn" the brackets mean any one of the following. > -Original Message- > From: Vuctor Akinnagbe [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 09, 2003 10:11 AM > To: [EMAIL PROTECTED] > Subject: Delimiter

Re: Delimiter Question

2003-01-09 Thread Rob Dixon
$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