I know, but if system() runs something that produces output, I want it captured and can't:
Not so!!. Because system is not what you want to use to capture the output from a command use backticks or qx has it has been shown by others.
Then you can test your output if you want.
In reply to Re^5: How to capture and verify STDOUT of a Perl Module
by 2teez
in thread How to capture and verify STDOUT of a Perl Module
by yuri123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |