in reply to Re: Anyone migrated to the new 'class' way of OOP?
in thread Anyone migrated to the new 'class' way of OOP?

I'm also sticking with bless() for now. For my use cases, it is still the most flexible way of doing things. I often need to run code before and after SUPER::new(), and i have quite a few modules that have multiple new() functions, depending on how i want/need to initialize them. And factory classes, multiple inheritance, etc...

Not to mention that rewriting a lot of my (tested and proven to work) codebase would be a huge undertaking, and mixing OO systems within a project seems like a very bad idea.

PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP
Also check out my sisters artwork and my weekly webcomics
  • Comment on Re^2: Anyone migrated to the new 'class' way of OOP?