in reply to Re^3: linting for undefined object methods
in thread linting for undefined object methods
will fail when the method is actually called$dataView->htmTable('edit');
When $dataView's class cannot be known, having 'htmlTable' exist somewhere in the application namespace is clearly no guarantee of success at runtime... but missing the 'htmTable' bug is a *definite* guarantee that there will be a problem. A lint check, imperfect as it may be, still seems to offer value in my case.sub htmlTable { }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: linting for undefined object methods
by ikegami (Patriarch) on Sep 01, 2009 at 23:58 UTC | |
by aespen (Initiate) on Sep 03, 2009 at 15:45 UTC | |
by ikegami (Patriarch) on Sep 03, 2009 at 16:26 UTC |