in reply to Re^4: Having trouble creating a text file
in thread Having trouble creating a text file

What if someone hands you a filename that clobbers another file?

Also as I mentioned before, please use the 3-arg version of open instead of the 2-arg version. There are a additional safety implications there too.


Dave

  • Comment on Re^5: Having trouble creating a text file