Wow, your response to Mr. Smolarek was a bit harsh, even though is
response to you was harsh as well.  Hmm....

Anyway, you'll have to read each line in and parse it and write it out,
modifying the appropriate line.  You already have the parsing done or
you'd not be able to send the confirmation and search for lost
passwords.

You read each line, parse it, inspect it to see if it is the appropriate
line to modify and modify it accordingly, then write it out to a temp
file.  Keep doing that until you've gone through all of the lines, then
remove the original file and move the temp file into its place.

hth
Chris

> -----Original Message-----
> From: RDWest Sr. [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 27, 2001 9:12 AM
> To: [EMAIL PROTECTED]
> Subject: Some Advice plz :))
>
>
> hi yall,
>     yup,  i'm an old country boy...     lol    i'm strugling
> here to learn perl on my own and with help from(maybe
> yall)lol      so plz bare with me...
>     i need some advice on an issue here...   i'm creating,
> well trying to create,  a ranking system for my online
> pals...   i've accomplished user signup,  print info to
> flatfile database...  send confirmation of account and a
> search for lost userid and pwd...
>
> now,  i got to thinking...   if say a user wants to update
> their info( change pwd, name, etc...)    i'm just completely
> lost here...
>
> does anyone have a good explanation or some code snippets i
> can look at?
> tx again
> RD Sr.
>


Reply via email to