Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Anyone migrated to the new 'class' way of OOP?

by cavac (Prior)
on Aug 25, 2025 at 10:42 UTC ( [id://11166109]=note: print w/replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11166109]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2025-12-06 13:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (85 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.