OK, in that case you really should have a look at Moose. Although it is a bit "heavy", it has a very clear structure and allows for all forms of inheritance with well constructed build and destroy mechanisms. You don't even have to write your own new routine as it is already provided for you!
CountZero A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
| [reply] [d/l] |