Help for this page

Select Code to Download


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