I am using Audio::WAV to both read and write several WAV files through an iterative process. After generating a bunch of files, I get the following:
Background Error: Can't locate C:/Perl64/site/lib/auto/Tk/Error.al:
+Too many open files at C:/Perl64/site/lib/Tk.pm line 423
I have checked and I believe I am properly finishing each WAV file I write with write->finish, and in any case the Audio WAV docs specify that finish is "not entirely neccessary as finish is done in DESTROY now (if the file hasn't been finished already)."
I am also reading WAV files iteratively but I don't see any way to close them after reading. I don't know if the 'too many files open' is about reading or writing, but I suspect the former.
Any advice? Many thanks in advance.