Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by mr_mischief (Monsignor)
on Jan 05, 2016 at 20:39 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-19 19:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found