OxPM: execute vim in foreground

James Davis jamesd at jml.net
Wed Jan 28 10:25:52 CST 2004


I'm probably overlooking something silly but no amount of Googling and
reading of documentation has come up with the answer I'm looking for. I
wish to execute vim from within a perl script in order to edit some text,
then return to the perl script. However if I use a simple

qx/vim foo/;

I get...

Vim: Warning: Output is not to a terminal

and vim hides from view. What should I be doing instead?

James

--
"You're turning into a penguin. Stop it"
http://jamesd.ukgeeks.co.uk/




More information about the Oxford-pm mailing list