$| = 1; # turn on autoflushing of print statements print( "
About to open file..
About to append to file..