I want to open a file that has one number in it, take that number and increment it, and then write it back to the same file -- overwriting the existing number.
heres the code i have written so far, but this is obviously not working..
open(CONFIRM,"confirmation") or die "Could not generate a confirmation number for you at this time.";
print CONFIRM $number;
I think I am just opening the file wrong.. what do you think?
It looks like you're new here. If you want to get involved, click one of these buttons!