views:

68

answers:

1

Besides modules that are specific to a given service (like ClearCase::Proc::ClearTool), what modules or built-in functions exist to automate external programs?

+10  A: 

For programs expecting input on STDIN and output on STDOUT or STDERR there is:

For programs expecting interactive input there is Expect.

For web applications there is:

For generic TCP and UDP servers there is IO::Socket.

For web services that expect SOAP there is:

For XML-RPC there is RPC::XML.

For MS Windows applications there is Win32::GuiTest.

For X Windows applications there is X11::GUITest.

For applications that support DBus there is Net::DBus.

For OS X programs that support Applescript there is Mac::Glue.

Chas. Owens
For Windows apps, there is Win32::GuiTest
runrig
@runrig Thanks, I have added it and a link to it to the list.
Chas. Owens
more SOAP: XML::Compile::SOAP; more GUI automation: X11::GUITest; for XML-RPC: RPC::XML; for application automation: Net::DBus, Mac::Glue
daxim
@daxim Thanks, I have added them.
Chas. Owens
for Windows applications that have OLE Automation interfaces (COM), there is Win32::OLE.
Mike Ellery
should the basic ones like system and qx{} be added?
mirod