in reply to Any perl modules for handling system operations
I want to write a test suite for command line (executable) applications
For testing command line apps, I like IPC::Run3 instead of system, as I can feed STDIN and capture STDOUT and STDERR independently and later check them using regular expressions.
There are other test modules that may help, though some of them may have portability concerns. (But if you're on Unix, you're probably safe.)
-xdg
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
|
|---|