RE: Simple question need ans

2002-03-04 Thread Bob Showalter
> -Original Message- > From: senrong [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 04, 2002 9:27 AM > To: [EMAIL PROTECTED] > Subject: Simple question need ans > > > I am writing a simple program that update and search a text > file for names and telephone number > > I just want

RE: Simple question need ans

2002-03-04 Thread Hanson, Robert
As usual there are many ways to do it. I haven't done much with opening files for read and write at the same time, so someone else will have to provide ideas for that. I would either read in the whole file, then rewrite the whole file... or use DBI (assuming the file is CSV). If you read in the