in reply to Re^3: "readdir() attempted on invalid dirhandle" error?
in thread "readdir() attempted on invalid dirhandle" error?
File handles and directory handles are stored in different slots of the glob. From Perl's perspective, the problem isn't that the provided handle is the wrong kinda of handle; the problem is that the provided glob didn't contain a dir handle.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: "readdir() attempted on invalid dirhandle" error?
by ikegami (Patriarch) on Jul 11, 2024 at 13:56 UTC |