Keep It Simple, Stupid | |
PerlMonks |
Re: Re: changing object's methods at runtimeby japhy (Canon) |
on May 21, 2003 at 15:09 UTC ( [id://259742]=note: print w/replies, xml ) | Need Help?? |
That Ruby code is awfully sweet. I'm not sure how to replicate it, since I bet both objects are still technically Dog objects, and yet they have different methods. It's cool, though. Perhaps Perl 6 will allow that.
_____________________________________________________
In Section
Seekers of Perl Wisdom
|
|