Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Executing script from Vim, annoying...

by flexvault (Parson)
on Jul 20, 2012 at 12:38 UTC ( #982810=note: print w/ replies, xml ) Need Help??


in reply to Executing script from Vim, annoying...

mascip,

Not knowing your environment, these suggestion are just guesstimates.

I usually work on *nix, so I opened a XP laptop to verify this will work, and it did. so here goes.

I opened two command windows (cmd.exe) on the XP, ran Vim in one, and executed the edited Perl script in the other. I could edit with Vim and could interact with the running script by just switching windows.

For my *nix environments, I run 5 x-windows by default. 3 x-windows are used for Perl programming:

  • #1 for editing the Perl script
  • #2 for execution the Perl script
  • #3 for checking results of the Perl script, such as log files, etc.

The other 2 windows are used for doing system admin functions as needed. This way I can be interrupted for an emergency, and when things are fixed, I can go back to programming without missing a beat.

This may not be a solution to your problem, but it may help.

Good Luck!

"Well done is better than well said." - Benjamin Franklin


Comment on Re: Executing script from Vim, annoying...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://982810]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2014-11-28 23:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (200 votes), past polls