Perl: the Markov chain saw | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I have been following these contributions with interest, but I do not have the C expertise to understand some of it. So I wonder if you could advise me on these questions:
You now refer to "perlbug errno test without localizing". Could you characterize how this bug shows up at the Perl (as opposed to the C) level? Is the answer just "readdir sometimes throws warnings and sometimes not", or can it be made more explicit? In addition to "use warnings", is the following the best I can do for discovering that a problem occurred during a readdir? If not, what would be better?
Finally, will this bug modify how "effective" this code is in recognizing the occurrence of an error on the readdir? Thanks very much for all your help. In reply to Re^2: Testing for readdir failure (Perl-bug)
by Bob Cook
|
|