If you are going to do an equality comparison, you can leave out the regex.
if(lc($again) eq 'y'){
should work.
-Original Message-
From: Andrew F. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05, 2002 7:40 AM
To: [EMAIL PROTECTED]
Subject: trouble with case-sensitivity
I
If ($again =~ m/^y$/i)
If $agian matches y at the begging and end. /i setting it to ignore
case.
I think that's what you where going for.
^match at begging of string
$match at end of string.
Paul
> -Original Message-
> From: Andrew F. [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, Decemb