XP is just a number | |
PerlMonks |
Re: How *do* they do that?by abstracts (Hermit) |
on Aug 12, 2001 at 13:56 UTC ( [id://104222]=note: print w/replies, xml ) | Need Help?? |
Hello If you look at the opendir(3) manpage, you will see that perl's opendir, readdir and closedir are handled directly by their C counterparts. The DIR * data type is defined I believe in dirent.h or in sys/types.h. I believe implementing opendir, readdir and closedir are straightforward in XS given that this is their calling syntax:
Did I answer the question? Aziz,,,
In Section
Seekers of Perl Wisdom
|
|