in reply to How to use Perl install software?

For windows, see Win32::GuiTest.

For UNIX, I'm not sure, but I just noticed X11::GuiTest.

update: for automating console programs, some people seem to like Expect.