Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Edit File in place

by tommyw (Hermit)
on Aug 13, 2002 at 11:41 UTC ( [id://189744]=note: print w/replies, xml ) Need Help??


in reply to Edit File in place

You've reinvented one of the most common questions asked here. And you've already implemented one of the most common solutions. So bonus points for that ;-)

Unfortunately, while there are variations, there isn't really a better way of performing this trick. But you could see How do I change one line in a file/delete a line in a file/insert a line in the middle of a file/append to the beginning of a file? for further comments

--
Tommy
Too stupid to live.
Too stubborn to die.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (2)
As of 2024-04-26 06:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found