Can we see a little more of the code? :o)
Doug
-Original Message-
From: Richie Crews [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 11:43 AM
To: Richie Crews; [EMAIL PROTECTED]
Subject:RE: Ok brain fart here...
Ok my problem is something not shown in the
EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 11:27 AM
To: [EMAIL PROTECTED]
Subject: Ok brain fart here...
Ok I am beating my head why this is not working...
$fname = ;
chomp $fname;
$fletter = substr($fname,0,1);
# now we have the first letter of the first name
if ( $flet
What are the errors? It works fine here.
-Original Message-
From: Richie Crews [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 10:27 AM
To: [EMAIL PROTECTED]
Subject: Ok brain fart here...
Ok I am beating my head why this is not working...
$fname = ;
chomp $fname
cc:
Subject: Ok brain fart here...
07/18/01
On 18 Jul 2001 11:26:45 -0400, Richie Crews wrote:
> Ok I am beating my head why this is not working...
>
> $fname = ;
> chomp $fname;
> $fletter = substr($fname,0,1);
> # now we have the first letter of the first name
> if ( $fletter =~ /[a-f]/i) {
> print "First letter is a-f\n";
>
I did a cut and paste and it seems to work fine here.. What errors do you
get or what result?
Doug
-Original Message-
From: Richie Crews [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 11:27 AM
To: [EMAIL PROTECTED]
Subject:Ok brain fart here...
Ok I am
Ok I am beating my head why this is not working...
$fname = ;
chomp $fname;
$fletter = substr($fname,0,1);
# now we have the first letter of the first name
if ( $fletter =~ /[a-f]/i) {
print "First letter is a-f\n";
}
You get the picture I would have other if's based on the first