cr8josh has asked for the wisdom of the Perl Monks concerning the following question:
Greetings!
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: "Too Many Files Open" problem
by Marshall (Canon) on Jan 07, 2012 at 04:43 UTC | |
|
Re: "Too Many Files Open" problem
by ikegami (Patriarch) on Jan 07, 2012 at 05:38 UTC | |
|
Re: "Too Many Files Open" problem
by Eliya (Vicar) on Jan 07, 2012 at 01:56 UTC | |
|
Re: "Too Many Files Open" problem
by cr8josh (Sexton) on Jan 07, 2012 at 06:57 UTC | |
by Anonymous Monk on Jan 07, 2012 at 08:14 UTC | |
by Anonymous Monk on Jan 07, 2012 at 15:58 UTC | |
|
Re: "Too Many Files Open" problem
by Anonymous Monk on Jan 07, 2012 at 02:43 UTC | |
|
Re: "Too Many Files Open" problem
by Anonymous Monk on Jan 07, 2012 at 02:01 UTC | |
|
Re: "Too Many Files Open" problem
by cavac (Prior) on Jan 07, 2012 at 13:26 UTC |