in reply to Re^2: Possible to catch undefined sub at "compile" time? (two ways)
in thread Possible to catch undefined sub at "compile" time?
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.
|
|---|