Recently I had a CGI program start throwing error 500's. I tracked it down to a misspelled function name in a block that handles an obscure error condition. I fixed it but I'm wondering if there is a tool (or switch) that will catch "Undefined subroutine" errors before the code goes to testing.