I guess diotalevi's solution is what I was looking for:
> perl -MO=Lint -c mink.pl Nonexistant subroutine 'mink' called at mink.pl line 4 mink.pl syntax OK
It's a pity that it doesn't work on Windows to add '-MO=Lint' in the shebang line.
Thanks everyone for your help and/or entertaining suggestions.
In reply to Re^3: Possible to catch undefined sub at "compile" time? (two ways)
by Anonymous Monk
in thread Possible to catch undefined sub at "compile" time?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |