<?xml version="1.0" encoding="windows-1252"?>
<node id="982810" title="Re: Executing script from Vim, annoying..." created="2012-07-20 08:38:44" updated="2012-07-20 08:38:44">
<type id="11">
note</type>
<author id="733061">
flexvault</author>
<data>
<field name="doctext">
&lt;p&gt;&lt;a href="http://www.perlmonks.org/?node_id=946673"&gt;mascip&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Not knowing your environment, these suggestion are just guesstimates.&lt;/p&gt;&lt;p&gt;
I usually work on *nix, so I opened a XP laptop to verify this will work, and it did. so here goes.&lt;/p&gt;&lt;p&gt; 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.
&lt;/p&gt;&lt;p&gt;
For my *nix environments, I run 5 x-windows by default. 3 x-windows are used for Perl programming:
&lt;ul&gt;&lt;li&gt; #1 for editing the Perl script
&lt;li&gt; #2 for execution the Perl script
&lt;li&gt; #3 for checking results of the Perl script, such as log files, etc.
&lt;/ul&gt;&lt;/p&gt;&lt;p&gt; 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.&lt;/p&gt;&lt;p&gt;

This may not be a solution to your problem, but it may help.


&lt;/p&gt;
&lt;p&gt;Good Luck!&lt;/p&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-733061"&gt;
&lt;p&gt;&lt;b&gt;"Well done is better than well said." - Benjamin Franklin&lt;/b&gt;&lt;/p&gt;

&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
982789</field>
<field name="parent_node">
982789</field>
</data>
</node>
