On Fri, Feb 20, 2009 at 11:30 PM, David E. Wheeler <da...@kineticode.com> wrote: > On Feb 20, 2009, at 1:23 PM, Gabor Szabo wrote: > >> I wonder if there are modules out there that already do this? >> I could not find any that would fit my needs. > > Test::Output? > > http://search.cpan.org/perldoc?Test::Output > > If it doesn't capture output from other programs, have a look at > Capture::Tiny.
I looked at both Test::Output and Test::Trap but for both of them I need to do lots of other things. Capture::Tiny is cute. Maybe I need to put together something using some of those though I think I'll start just by putting what I have now in a module. What should I call though ? Test::Exec ? Test::Execute ? Test::External ? Maybe I should extend Text::Cmd or Text::Commands. Test::Commands ? Gabor