http://qs321.pair.com?node_id=684194


in reply to Data Structures

This is indeed a prime example of where one can put Object Oriented Programming to good use (leocharre++).

Of course OOP is not for the faint hearted and has a lot of do's and don'ts.

CPAN to the rescue!

There are tons of modules dealing with Object Oriented Programming, but why not reach for the most advanced? Try Moose! At first it will seem like total overkill for your application, but you don't have to use all of its features (yet). It is wel laid out, has good documentation and simply works and allows you to extend it with its more advanced features as and when you need it.

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