Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: check for latest file, remove and touch file?

by mr_mischief (Monsignor)
on Jan 05, 2016 at 20:39 UTC ( #1152017=note: print w/replies, xml ) Need Help??


in reply to Re^2: check for latest file, remove and touch file?
in thread check for latest file, remove and touch file?

Assuming the file already exists, yes append mode would be better. If it doesn't already exist, then the two are equivalent. To make it more similar to touch it should be appending. You're right about that.

  • Comment on Re^3: check for latest file, remove and touch file?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2022-11-29 21:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?