in reply to Re^2: adding temporary method to a class
in thread adding temporary method to a class
The approach shown above is a nice "lightweight" solution. If you wanted to be more industrial-grade about it, you could make a derived class which adds the new method. Delegation is another possibility.
We're building the house of the future together.
|
---|
In Section
Seekers of Perl Wisdom