On Oct 17, 2001 at 10:55 -0700, nayyreh atabakhsh took the soap box and proclaimed:
: Hi group
: 
:  I am looking for the programm in perl  that produce
: this information
: 
: The name of the file should be the same as the user's
: name. 
: The list of questions to ask the user must be stored
: in a file. 
: If the same user runs your script again, then the
: previous answers for each question should be recalled
: from the file. 
: As each question is asked, the previous answer should
: be shown in parenthesis at the end of the question. 
: If the user then just hits instead of typing in an
: answer, then the previous answer should be kept. 
: Otherwise, the old answer should be replaced with the
: new answer. 

Forgive me if I'm mistaken, but this sounds a lot like homework.  Now,
if it isn't homework that's ok, please just reply to this and let us
know.

In short, I would go with the following format:

  The users file is an XML file.  Use Perls XML tools (XML::Parser and
  XML::Writer would be fine).  That file would store questions and
  answers together.

  Casey West

-- 
Shooting yourself in the foot with AIX
You can shoot yourself in the foot with either a .38 or a .45.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to