P is for Practical | |
PerlMonks |
Re^4: The value of declarationsby TGI (Parson) |
on Apr 08, 2009 at 22:00 UTC ( [id://756475]=note: print w/replies, xml ) | Need Help?? |
Some checks could be done if you had a way to tell the compiler you weren't going to do something like this.
Where the declaration says that only the methods that exist for the class at that time, or perhaps those that have been explicitly declared are available. Even better if you could turn it off from outside the class file, so you could do some monkey patching if needed:
In Section
Meditations
|
|