Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: opendir a directory abstraction?by Corion (Patriarch) |
on Feb 14, 2021 at 08:54 UTC ( [id://11128356]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|