Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by diotalevi (Canon)
on Oct 10, 2007 at 18:09 UTC ( #644051=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://644051]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2020-10-24 08:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (242 votes). Check out past polls.

    Notices?