The following lines were added (+) and removed (-):
Writing to a file overwrites what was in the file previously and writes the new information over it.== Other Methods of File Access ==Here's a quick way to write to a file without using a filehandle. print `echo "Write this line" > filename.txt"`;Read without filehandle $strLines = `cat filename.txt`;