Syntactic Confectionery Delight | |
PerlMonks |
Suggestions on Object Oriented helpers for 2017by stevieb (Canon) |
on Feb 04, 2017 at 00:41 UTC ( [id://1181042]=perlquestion: print w/replies, xml ) | Need Help?? |
stevieb has asked for the wisdom of the Perl Monks concerning the following question: So I'm getting sick of doing things like this:
I think I'm finally ready to try out a helper that can expedite the writing of these subs that almost always do the same things. For example, sometimes I do trickery like this:
...but that only works when all params are reasonably consistent in the values that are accepted. I've heard stories about Moose, Mouse, Moo etc., but since I've never gone down this path before, I'm looking for today's take on which one I should focus on. Keeping prereqs low and performance high are very important, as is maintainability, and activity on the distribution chosen. I don't want my scripts to take seconds to start up, nor do I want CPAN Testers failures every few weeks due to random changes being done that aren't tested properly in these modules, otherwise, I'll just keep doing what I'm doin'. So, looking for feedback from the Monks who have "been there, done that" as far as considering transitioning from traditional Perl OO to some form of framework to take a bit of the sting out of duplicated code, with these (not limited to, nor in any specific order):
To be honest, I never thought I'd consider going this route, but I've been writing a lot of distributions lately (several that are 'in the works'), and just want to consider and do some prototyping with such a distribution to see if it'll make my life easier while outweighing the drawbacks. I'm especially interested in hearing about newer ones that aren't spoken about so much, and I may not know about. What are your stories? Thanks, -stevieb
Back to
Seekers of Perl Wisdom
|
|