Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 surveying the Monastery: (4)
As of 2016-09-28 12:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (528 votes). Check out past polls.