|laziness, impatience, and hubris|
DIY Tieby yosefm (Friar)
|on Sep 12, 2003 at 10:53 UTC||Need Help??|
yosefm has asked for the
wisdom of the Perl Monks concerning the following question:
I've been trying to do my own file-tying mechanism. Yes, I know that <insert_favorite_module> does that and my laundry too, but how am I ever going to learn anything by using other people's work all the time, eh?
My problem right now is this: I'd like to delete a piece of data (say, an XML entity) from the middle of a file. Is there any way of doing that without re-writing the entire file? This just seems too wasteful in disk access times.
PS Though I'm looking for a DIY answer, I'll be also hapy to know what modules you are using for this kind of job.