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


in reply to Re^2: How to write out a Perl script and run it in as few keystrokes as possible.
in thread How to write out a Perl script and run it in as few keystrokes as possible.

the first process can even be shortened by using ZZ instead of :wq and enter.
but one advantage of the second is, you still have the vim history and can undo the recent changes easily. another is, you can still see the output of your script when continuing with editing.
  • Comment on Re^3: How to write out a Perl script and run it in as few keystrokes as possible.