in reply to READDIR: files printed twice in the directory ?
Hi,
I can only assume that the way you call this sub makes it run twice. The sub itself seems not to explain why it outputs twice.
Can you give us a more complete example, please?
Regards,
svenXY