To capture a command's STDERR and STDOUT together: 1. $output = `cmd 2>&1`;
Also from the FAQ's:
perldoc -q stderr
In reply to Re: Easy way to capture STDOUT and STDERR without IPC
by toolic
in thread Easy way to capture STDOUT and STDERR without IPC
by rastoboy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |