open STDOUT, '>', \$variable;
That won't work. That Perl file handle doesn't have a system file handle associated with it, so the child can't see it. You could use
$variable = `$command`;
In reply to Re^2: How to hide system(); output.
by ikegami
in thread How to hide system(); output.
by bcens
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |