Re: testing script using Term::ReadLine

2004-11-15 Thread Michael G Schwern
On Mon, Nov 15, 2004 at 08:40:00PM +0200, Gabor Szabo wrote: > I have a script using Term::ReadLine to get input. > I'd like to test it by executing it using another script > and providing answers from the script test script. > I tried IPC::Run with no success but as I notice even simple redirectio

testing script using Term::ReadLine

2004-11-15 Thread Gabor Szabo
I have a script using Term::ReadLine to get input. I'd like to test it by executing it using another script and providing answers from the script test script. I tried IPC::Run with no success but as I notice even simple redirection such as input.pl < in.txt does not work. Any ideas how to au