in reply to Very weird

Did you flush the buffer or close the file at some point before reading from it?
  • Comment on (ichimunki) Flush your buffers when writing/reading files

Replies are listed 'Best First'.
Re: Re: Very weird
by Fingo (Monk) on Feb 15, 2001 at 03:41 UTC
    I don't think so. I modified it to create the array of the file, then close it before creating a >> filehandle. I would send you the whole code, but I'm afraid youd either a) vomit, b) try to kill me ;)
      Actually, I meant that you will need to do one of those two things before reading from the file (but after you print to the filehandle). Otherwise the missing field(s) sit waiting to be written to disk.
        Tanks I guess its the same thing that the other person said. I'll add that to my list of errors "Filehandles must be closed" right after "end all lines with ';'"