Re: improvements to code

2003-01-24 Thread Rob Dixon
Hi Pam. Some peripheral comments, now that others have done all of the hard work :) John W. Krahn wrote: > Pam Derks wrote: >> I want to grap the: >> last first middle(if any) email >> from a text file >> >> sample data: >> Smith, Mary [EMAIL PROTECTED] >> Jones, Tommy Lee [EMAIL PROTECTED] >> >>

Re: improvements to code

2003-01-24 Thread John W. Krahn
Pam Derks wrote: > > Hi all, Hello, > I want to grap the: > last first middle(if any) email > from a text file > > sometimes there is a middle intital, sometimes there isn't > > sample data: > Smith, Mary [EMAIL PROTECTED] > Jones, Tommy Lee [EMAIL PROTECTED] > > can someone suggest improveme

Re: improvements to code

2003-01-24 Thread George P.
On Thu, 23 Jan 2003, Pam Derks wrote: > Hi all, > > I want to grap the: > last first middle(if any) email > from a text file > > sometimes there is a middle intital, sometimes there isn't > > sample data: > Smith, Mary [EMAIL PROTECTED] > Jones, Tommy Lee [EMAIL PROTECTED] > > can someone sugges

improvements to code

2003-01-24 Thread Pam Derks
Hi all, I want to grap the: last first middle(if any) email from a text file sometimes there is a middle intital, sometimes there isn't sample data: Smith, Mary [EMAIL PROTECTED] Jones, Tommy Lee [EMAIL PROTECTED] can someone suggest improvements to the code below? #!/usr/bin/perl -w my ($fir