On 2008-08-01, at 09:43:30 +0530, Ram kumar wrote: > hi, > > > Not true. At least my microperl does have a working readdir: > > > > mhx@r2d2 $ ./microperl -le 'opendir D, "."; while (defined($_ = readdir D)) { print }' > > . > > .. > > t > > upp_pack.o > > ext > > lib > > [...] > > > > Which version of perl are you trying to build microperl from? > > perl 5.8.8...???? I don't think you mentioned that in your first post. > can you please suggest how to make microperl support readdir function...??? As I said -- and I just doublechecked with a microperl built straight from a clean 5.8.8 tarball -- readdir works absolutely flawless in microperl. > >> Is there any possibility that i can make microperl support these > >> functions....???? > >> > >> Please let me know what are the other functions that microperl doesn't > >> support from the full version perl ??? > > > > Most of that is configurable via uconfig.sh. > > Can you please suggest me.....how to change the uconfig.sh to support > readdir function.??? If I knew what your uconfig.sh looked like, I would probably be able to tell you what to change... Anyway, the _unmodified_ uconfig.sh that ships with perl 5.8.8 has everything set up for readdir to work. Just search the file for d_readdir. In the original uconfig.sh it's d_readdir='define' which means that the readdir() function is assumed to be present and will be used to build support for readdir into microperl. Marcus -- Hildebrant's Principle: If you don't know where you are going, any road will get you there.Thread Previous | Thread Next