Anyway, I that's how I would approach this problem. Let me know if you decide to start working on a VIM::Emulate module. I would be willing to assist, whenever I have time.
Excellent! Thank you. I am quite short on time myself right now, so I'll have to keep
this reply brief.
One thing I'd like to mention is how great the insight you've provided is, regarding one issue. Your lattermost suggestions hinge on the understanding that Vim is creating a persistent perl interpreter that is lasting the lifetime of the Vim script: as far as I knew, it was not, and so it never occured to me to try to do this. I had thought that Vim creates an interpreter for each block of Perl code, it does its work and then expires. I was wrong!
The example you posted above in fact proves out nicely, so thanks again for the very
helpful insights. I'll be in touch!
Soren/Intrepid
--
use PerlMonk::Tye qw(:wisely);