Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by diotalevi (Canon)
on Oct 10, 2007 at 18:09 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://644051]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-24 03:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found