If I may add to Rhandom's question about vi, here is my related one:
I use either the vim or vile variants of vi to write Perl scripts. I would love from inside the vi editor to be able to run my perl programs and see my output and errors (if any), possibly in separate windows.
But I don't know how to run my Perl scripts from inside of vi. Sometimes I fire up a shell inside vi and run my Perl script inside the shell, but that is a lot of extra typing.
Back when I used to use the Borland C++ editor I was able to run Perl scripts from inside the editor. There must be away to do so with vi. If anyone knows how then please clue me in.
Update: It is in fact easy to run a perl script while vi is editing it. You simply type the following EX editor command at the colon prompt:
!perl %
If you start your perl program off with the shebang command, then you can also use the following command instead:
!./%