perldoc perltie perldoc IO::Handle
In reply to Re: How do I redirect STDERR to a subroutine? by Anonymous Monk in thread How do I redirect STDERR to a subroutine? by slloyd