in reply to Re^2: Capturing STDERR (this is not a FAQ)
in thread Capturing STDERR (this is not a FAQ)

Isn't there some way to redirect it to a subroutine

The child process cannot access variables or call subroutines in your process. You will need to have the child write to a pipe from which you will read, then you can pass what you read to a subroutine.

or file handle instead?

huh? "Redirecting data sent to a file handle to a file handle" makes no sense.

  • Comment on Re^3: Capturing STDERR (this is not a FAQ)

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.