You have to be careful before changing the characteristics(binary, unreadable,..,) of a file. Because, it is going to affect you when you access the file for some other purpose.
It is better to log the read file names in a separate file(log) and check the existence of file name in the file(log) before reading the files.
In reply to Re: mark unreadable file so a loop does not read the file again
by nagalenoj
in thread mark unreadable file so a loop does not read the file again
by newPerlr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |