in reply to How to deal with old OO code that mixes instance methods with class methods

4: Replace it with a well-tested CPAN module that does things "right" (for whatever definition of right)

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

My blog: Imperial Deltronics
  • Comment on Re: How to deal with old OO code that mixes instance methods with class methods