Help for this page
sub PRINT { my $self = shift; # the tied STDERR object errhandler(@_); }
tie *STDERR, 'My::Tie::Class'; SomeModule::do_something(); untie *STDERR;