Greetings all, This is an extremely broad question, but I was wondering if any of you knew, off the top of your head, of any circumstances in which the generation of custom response codes would be ignored. Say... A subroutine is called in the case of an error that logs the warning to the log file, kicks off an e'mail to the site admin, and then generates a custom response page. Very basically, it looks like this: sub error_out { my($self,$error) = @_; warn "ERROR: $error\n\n"; # using Net::SMTP to send e'mail, which is does just fine my($r) = Apache->request(); $r->err_headers_out->{'error_title'} = $error_title; $r->err_headers_out->{'error'} = $error; # /Error is a custom handler defined in apache conf file $r->custom_response(SERVER_ERROR, "/Error"); return SERVER_ERROR; } It logs to the database, then sends out the e'mail, but just... skips... the custom error page. What's odd, is that in some cases, it works like a champ. THIS WORKS: my($error) = q{Doh!}; sub method { do something or return undef; } my($text) = method() or $self->error_out($error); THIS DOESN'T WORK: sub method { my($error) = q{Doh!}; do something or $self->error_out($error); } I realize this is NOT enough info, but not knowing what IS enough, I'm hoping, more than anything, for ideas, and questions that lead me in the right direction. FWIW: I'm looking to understand what's going on, and through that find a fix, rather than find a quick fix and move on. David <- caught in the middle between knowing enough and knowing nowhere near enough, and thus missing the obvious. David Veatch - [EMAIL PROTECTED] "Many people would sooner die than think. In fact, they do." - Bertrand Russell