Personally, I can't think of a good reason not to use inheritance.
I can. It encourages code reuse along the wrong lines, caring more about position in an arbitrary (and quite possibly wrong hierarchy) than about the capabilities of the class.
That's why Perl 6 encourages the use of roles.
In reply to Re^2: I don't think inheritance is essential
by chromatic
in thread Advanced Perl Programming, 2nd edition
by bart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |