In absence of AUTOLOAD, you don't even need to eval the calls. You can just use defined &func to check whether a subroutine was defined. This will supposedly even see through forward declarations of
sub foo;
You still need to run the BEGIN blocks of all use statements at least.
In reply to Re^2: Detecting undefined subroutines at compile time
by Corion
in thread Detecting undefined subroutines at compile time
by bdenckla
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |