in reply to Re: Re: Efficient processing of large directory
in thread Efficient processing of large directory
You should readdir instead. Also, if this is running from a CGI (I guess that's what timing out is referring to), then make sure to give the client a few bytes of data every now and then so it doesn't give up waiting.
Makeshifts last the longest.
In Section
Seekers of Perl Wisdom