in reply to Object oriented Perl: What's popular?

To me a completely generic framework like Moose isn't very attractive. What I need more often is help building specific types of classes. For example, when I need to model persistent objects I'll use Rose::DB::Object or Class::DBI. When I need to model a web application I'll use CGI::Application or MasonX::WebApp. These are all base-classes which provide basic OO features, but they also give you important implementation features.

In the rare case where I'm creating a truely generic class I'll usually reach for Class::Accessor::Fast to do the busy work. It's quick, light and gets the job done. I used to like Class::MethodMaker but I'm not a fan of where the module has gone since v2 came out.

-sam

  • Comment on Re: Object oriented Perl: What's popular?