perlquestion
Cybercosis
First, some Background:<br>
Background: For those of you who've been following perllib's development (which isn't, to my knowledge, many), there hasn't been a release since 2.01, and that was some time ago. This is because I wanted to implement all of the features that scalars have (files, shared memory, semaphores, etc.). Well, that isn't <i>entirely</i> true, but it'll work for the moment. While I have most of the scalar abilities implemented, there's one that has been escaping me. This brings me to The Question:<p>
The Question: How does perl create and use directory handles?<br>I've hunted through the source, and there's no mention of the DIR structure, or its underlying __dirstream structure, which makes sense, since somebody decided to make them opaque (and with good reason). I can't, however, figure out how perl accomplishes it! So, I leave it to you internals gurus (you're braver people than I, Gunga Dinn!).<p>
~Cybercosis<p>
nemo accipere quod non merere
<p><small>Edit by [tye] to update title</small></p>