in reply to Re: Possible to catch undefined sub at "compile" time? (two ways)
in thread Possible to catch undefined sub at "compile" time?

I didn't write B::Lint. It comes with your perl.

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

  • Comment on Re^2: Possible to catch undefined sub at "compile" time? (two ways)

Replies are listed 'Best First'.
Re^3: Possible to catch undefined sub at "compile" time? (two ways)
by Anonymous Monk on Oct 15, 2007 at 10:49 UTC

    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.