Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: mark unreadable file so a loop does not read the file again

by nagalenoj (Friar)
on Dec 05, 2008 at 06:06 UTC ( #728196=note: print w/ replies, xml ) Need Help??


in reply to mark unreadable file so a loop does not read the file again

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.


Comment on Re: mark unreadable file so a loop does not read the file again

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://728196]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2014-09-23 00:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (209 votes), past polls