in reply to Re: execute a perl program
in thread execute a perl program

IN addition to the IPC family of modules, check out the Expect module.