yoda54 has asked for the wisdom of the Perl Monks concerning the following question:
I'm calling vim inside one of my perl scripts to edit various run time data (lists and such). Right now within my script I'm doing something like: data is written to a file, open with vim, save/close vim, openfile/refresh runtime data.
I'm sure there's a better approach. Is there a way pipe data directly to vim from perl? Do any of you have something like this out there?
Thanks for any suggestions.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Piping data to vim
by roboticus (Chancellor) on Nov 19, 2010 at 03:53 UTC | |
by yoda54 (Monk) on Nov 19, 2010 at 04:50 UTC | |
by roboticus (Chancellor) on Nov 19, 2010 at 06:07 UTC | |
by yoda54 (Monk) on Nov 19, 2010 at 22:48 UTC | |
by cdarke (Prior) on Nov 19, 2010 at 12:23 UTC | |
by tod222 (Pilgrim) on Nov 19, 2010 at 20:21 UTC | |
|
Re: Piping data to vim
by LanX (Saint) on Nov 19, 2010 at 02:01 UTC | |
|
Re: Piping data to vim
by anonymized user 468275 (Curate) on Nov 19, 2010 at 08:58 UTC |