in reply to changing data in a file

Your question isn't clear, and there's no code. You say data from each form gets put into a separate file, and the fields are separated by vertical bars. So, newlines or carriage returns have no special meaning - only the vertical bars do.

Then you describe a problem concerning newlines and carriage returns. Obviously, you are treating newlines and carriage returns differently than the letter h or the period.

However, you don't tell us how, nor do you show us code. I refuse to make guesses of what you can do wrong. Formulate your question better.

Abigail

Replies are listed 'Best First'.
Re: Re: changing data in a file
by simonthom (Initiate) on Apr 20, 2003 at 18:58 UTC
    Abigail, Thanks for taking the time to respond to my question. I know the question showed no code and I can understand your refusal to "make guesses". However, I was lucky in that another person saw the question and understood completely what my problem was. His solution, like my question , was brief and to the point. I've followed his suggestion and have my script working perfectly. Thanks again, Simon
Re: Re: changing data in a file
by Anonymous Monk on Apr 22, 2003 at 21:34 UTC
    Why do you have to belittle the person? If you can't answer their question with the information available, either ignore it or ask for more information. Skip the snide comments. Elitist attitudes like yours scare people away. Maybe you like that, but I don't think other people do. This place often gets a bad rap for not being friendly. Can you guess why?

    You provide good information, but could you put down the attitude and try to be a nice person?
      At least I sign my posting with a recognizable name. How many years of answering questions in Perl forums do you have? If you don't like me, don't read my posting; they are easy to recognize as they aren't posted by a shared account.

      Abigail

        At least you don't deny how rude you are. I'll give you credit for that.