in reply to Re: opendir a directory abstraction?
in thread opendir a directory abstraction?
No, rather a minimal abstraction of a file system.
Kind of a nested data-structure like a AoA or HoH, not the full implementation.
> And what would the inode numbers point to?
nowhere? stat doesn't work on abstracted FH either, hence no "inode"
DB<410> $str = join "\n", a..d DB<411> open AFH, "<",\$str DB<412> p "".<AFH> a DB<413> p "".<AFH> b DB<414> @stat = stat AFH DB<415> x @stat empty array DB<416>
see also stat: "Not all fields are supported on all filesystem types."
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|