in reply to Re: Reopen a class, add methods ?
in thread Reopen a class, add methods ?


Originally I did experiment with inheritance, but I got into trouble with the Tk framework when I tried to instantiate my derived class. It seems that Tk classes are somehow different from typical perl classes.

This is why I started looking for an alternative along the lines of 'reopen a class, add a method'.