The stupid question is the question not asked | |
PerlMonks |
Re: Motivation for replacing object methods at runtimeby lodin (Hermit) |
on Jun 27, 2008 at 20:47 UTC ( [id://694448]=note: print w/replies, xml ) | Need Help?? |
If Perl had better support for anonymous classes a simple solution would be to just create a specialization of the Divisor class (i.e. a subclass). There would be no need to modify or redefine anything in the Divisor class. lodin
In Section
Meditations
|
|