use warnings; use strict; sub monk {} sub go { mink 123; }
Done.
It also wouldn't be hard to write a module to scan the symbol table for references to undefined subroutines after the main script finished compiling and right before it starts running. I believe diotalevi(?) already wrote a module to report references to undefined subroutines.
- tye
In reply to Re: Possible to catch undefined sub at "compile" time? (two ways)
by tye
in thread Possible to catch undefined sub at "compile" time?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |