in reply to Get folders in a directory with 20k directories?
Depending on how far over 20000 files you are, this article may be relevant - it explains how readdir can fail for VERY large directories, and how you can get around it.
Mike
Mike
|
---|
In Section
Seekers of Perl Wisdom