http://www.perlmonks.org?node_id=382865


in reply to Controling and interactive program

IPC::Run... specifically, read the section on pump.
------------ :Wq Not an editor command: Wq