in reply to
How to read only limited number of files from a Directory
I recently solved a similar problem by creating a subclass of IO::Dir and overriding the read method.
Bill
Comment on
Re: How to read only limited number of files from a Directory
In Section
Seekers of Perl Wisdom