RE: Ok brain fart here...

2001-07-18 Thread Doug Johnson
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

RE: Ok brain fart here...

2001-07-18 Thread Richie Crews
Ok my problem is something not shown in the code... I was using a my $exch = "ICWPEX01" for each if statement and the my's seemed to be canceling it out... Richie Crews Unix Systems Administrator (706) 773 - 3436 CELL (706) 634 - 3681 DESK (706) 634 - 3831 FAX

RE: Ok brain fart here...

2001-07-18 Thread Daryl J. Hoyt
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; $fletter

Re: Ok brain fart here...

2001-07-18 Thread GoodleafJ
--Warning-- Newbie responding In what way is it not working? I may be making the same mistake as you. It looks good to me, excepting that there's no prompt to tell someone to type in a string. So if it ran as-is, it would appear to be hanging there, when it's just waiting for input. -John

Re: Ok brain fart here...

2001-07-18 Thread Chas Owens
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"; >

RE: Ok brain fart here...

2001-07-18 Thread Doug Johnson
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 bea