My script writes data to a file, and I then want to read data from that same file in the next part of my script.
I tried closing the filehandle and reopening as a read file, but it threw up the error "open for writing at line..."
Is there an easy way to open a file for both reading and writing ? Thanx,
basm100
In reply to Writing to file and reading from same file by basm100
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |