dcorbin has asked for the wisdom of the Perl Monks concerning the following question:
For certain types of code (unit testing with mock objects), it
is handy to implement an entire "class" within the test.
What I would like to do, is to create an object, bless, and then bind subroutines to it (written within another objects method) as methods. I don't know if this is doable in Perl or not, but I'm hoping someone here can tell me.
Back to
Seekers of Perl Wisdom