http://www.perlmonks.org?node_id=1223120

driador has asked for the wisdom of the Perl Monks concerning the following question:

Greetings monks! Question for everyone

I would like to have a basic form presented to users who run a command. I would prefer that the form be stored with the script easily, so putting it in the __DATA__ section makes the most sense to me. That said, is there a way to open the editor defined for the uid (or say, a default) with said form, allowing the user to edit it, and then run some method on the now edited form?

TIA
  • Comment on Open some text in $EDITOR, allow user to edit it, and then use changed data

Replies are listed 'Best First'.
Re: Open some text in $EDITOR, allow user to edit it, and then use changed data
by Corion (Pope) on Sep 27, 2018 at 06:01 UTC
Re: Open some text in $EDITOR, allow user to edit it, and then use changed data
by Anonymous Monk on Sep 27, 2018 at 01:02 UTC