in reply to Compile-time checking for undef subroutines?

Maybe not detect, but you can predeclare like you would a variable using the subs pragma.

use subs qw( foo bar baz );


cp
----
"Never be afraid to try something new. Remember, amateurs built the ark. Professionals built the Titanic."