Would it be possible within a perl script to pass the contents of a perl scalar (and program control) to emacs where the data could be edited by the user and then when emacs is closed the data (and program control) would be passed back to perl and the variable would contain the edited data - all without use of a temporary file?
Barry