I ended choosing the second solution (the one with the single new method) just after asking the question :)
Actually, writing down questions often lead you to think about a solution.
-- Nice photos of naked perl sources here !
In reply to Re^2: How to turn an object in my own subclass
by jeteve
in thread How to turn an object in my own subclass
by jeteve
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |