Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^4: opening file for editing

by armstd (Friar)
on Oct 09, 2011 at 11:56 UTC ( #930455=note: print w/ replies, xml ) Need Help??

in reply to Re^3: opening file for editing
in thread opening file for editing

No, that's not how editors work. Read from original, write to a new temp file. When the writing is complete and successful(!), rename the temp file to the old name. Typically you don't want to wipe out the original until you are sure you have a good replacement for it.


Comment on Re^4: opening file for editing

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2015-11-29 20:01 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (753 votes), past polls