in reply to Edit sendmain aliases file.

unless you can bend the implementation to use one of the "tie" methods to handle the file read/write for you, you'll otherwise need to regenerate the whole new file each time you want to modify it...with cocurrency locking to be handled yourself also.
the hardest line to type correctly is: stty erase ^H

Replies are listed 'Best First'.
Re^2: Edit sendmain aliases file.
by hipowls (Curate) on Jan 07, 2008 at 11:07 UTC

    The synopsis in Tie::File practically gives you the answer you seek.