Clear questions and runnable code
get the best and fastest answer
Re^3: Testing for readdir failureby LanX (Chancellor)
|on Apr 23, 2013 at 00:52 UTC||Need Help??|
> it became clear that I missed making one point: When the readdir fails to deliver the entire contents of the directory, there is NO warning, nor any other message, issued by Perl.
It also became clear that you never clarified what exactly fails.
How do you expect us to reproduce and catch unidentified errors?
Are you even sure these are errors and not just race conditions because the content of a directory changed in the meantime?
( addicted to the Perl Programming Language)