in reply to opendir a directory abstraction?
There is Filesys::Virtual (and its subclasses), but I think not even that supports readdir on itself.
I'm not sure a string would be a good approach as an API. I would expect more something like a tied FH, calling various methods on the tied object to return directory entries. But so far, I have not seen a good abstraction for filesystems.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2:opendir a directory abstraction?
by LanX (Saint) on Feb 14, 2021 at 19:15 UTC | |
by Corion (Patriarch) on Feb 14, 2021 at 19:28 UTC | |
by LanX (Saint) on Feb 14, 2021 at 20:09 UTC |