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."
In reply to Re: Compile-time checking for undef subroutines?
by crouchingpenguin
in thread Compile-time checking for undef subroutines?
by mr.dunstan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |