in reply to linting for undefined object methods

I'm confused, what exactly do you want? Do I miss a special restriction?

Lint means compile-time checking, but perl methods are evaluated at run-time and there are myriads of different OOP moduls for perl abstracting the interface. Not mentioning dynamic AUTOLOAD of methods or adding methods on the fly at run-time.

This question is strongly related to static parsing and why refactoring and intellisense are so complicated to realize in perl.

You see there is no simple answer if your not providing more information about your case.

In general the answer is: "No it's not possible while allowing perl's full dynamic flexibility!"

Cheers Rolf

UPDATE: One approach could be to simulate static typing, see Re: Compile-time/Auto-test method checking?.

  • Comment on Re: linting for undefined object methods