in reply to redirecting STDOUT (of a system call) to a var

Am I missing something? Wouldn't backticks or qx instead of system do what you want? Or do you have no control over the code in that coderef?
  • Comment on Re: redirecting STDOUT (of a system call) to a var

Replies are listed 'Best First'.
Re: Re: redirecting STDOUT (of a system call) to a var
by Anonymous Monk on Jun 28, 2001 at 03:22 UTC
    To clarify, yes I have no control over the coderef. It can contain an arbitrary mix of system calls and Perl print calls.