package SomeModule; sub do_something { # ... something's going on ... print STDERR "D'oh! Error!"; }