in reply to Re: incrementing the file
in thread incrementing the file
Or create a last.txt, containing the name of the latest file.
Your open it at the start of your program, overwrite and close it at the end. Not very elegant, but simple and robust.
In Section
Seekers of Perl Wisdom