system("/home/me/ipinfo.pl $_ >$output 2>&1");It is very unsafe (imagine somebody writing "; rm -rf /*" in the input file). Try using IPC::Run, which does all redirections itself.
In reply to Re: BOTH STOUT and STDERR to same file.
by aitap
in thread BOTH STOUT and STDERR to same file.
by hmb104
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |