perl5ever has asked for the wisdom of the Perl Monks concerning the following question:
This would entail annotating variable declarations with the name of a class or protocol so that any method calls on that variable could be validated (to make sure it's spelled correctly, has a legal number of arguments, etc.) It may not be able to check as much as a strongly typed language like Java could, but just checking that the method name is spelled correctly would be a big help.
I realize that perl can be used as a very dynamic language, but being able to do any amount static checking would be extremely helpful.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: static method checker for perl?
by moritz (Cardinal) on Apr 07, 2009 at 20:57 UTC | |
|
Re: static method checker for perl?
by DStaal (Chaplain) on Apr 07, 2009 at 20:01 UTC | |
by chromatic (Archbishop) on Apr 07, 2009 at 23:46 UTC | |
by DStaal (Chaplain) on Apr 08, 2009 at 18:22 UTC | |
|
Re: static method checker for perl?
by kyle (Abbot) on Apr 07, 2009 at 20:08 UTC |