Help for this page

Select Code to Download


  1. or download this
        package SomeModule;
        sub do_something {
           # ... something's going on ...
            print STDERR "D'oh! Error!";
        }
    
  2. or download this
            # What can I do here to direct STDERR messages
            # to errhandler() ?
        sub errhandler { ... }
    
        SomeModule::do_something();