in reply to Command Line Programming

You might want to look at Expect on CPAN. It is also available via ppm if you are using ActivePerl

--

flounder