>What I'd really like to do though is to be able to write back(append)
>to the same file.I am confused about opening a file in the append mode.
Not sure if this is what you mean, but ....

open (MYFILE, ">>file_to_append_to.txt") or die "Can't open $!\n";

Will open a file in the append mode
Then whatever you want to append to the file you merely
print MYFILE  @contents; #or whatever

HTH


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to