Take a look at IO::CaptureOutput. It will allow you to capture stdout and stderr returned from external commands.
In reply to Re: capture stdout and stderr from external command
by Kc12349
in thread capture stdout and stderr from external command
by pankajadvani
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |