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

so its not possible using perl

Replies are listed 'Best First'.
Re^5: opening file for editing
by choroba (Cardinal) on Oct 09, 2011 at 08:50 UTC
    You specified "no oneliners" and "no temp files". You have not specified what you are going to replace with what nor how big your file is. Under these conditions, I see no general solution (MS Word might use temp files, too, did you know?)

      MS Word™ does indeed use temp files. Open A_Word_Doc.doc, and in the same directory you'll see ~$Word_Doc.doc