in reply to Re^2: IO::File Question
in thread IO::File Question
Yes, you'd need to keep a counter that you increment each time you open a new output file, as well as a counter that you increment each time you write to the current output file (and that gets reset to zero each time you open a new file).
And you can still use IO::File to manage the opening and closing of files, and use lexically scoped scalar variables as "file handle objects".
|
|---|