develooper Front page | perl.beginners | Postings from August 2009

Procedural modules in an object-oriented project

Thread Next
Steve Bertrand
August 18, 2009 16:39
Procedural modules in an object-oriented project
Message ID:
My ISP management project which started out as a learning experience has
grown into a system that currently contains 10 modules. The entire
system is object-oriented.

While reviewing my POD to ensure that I've been keeping it up-to-date
properly, and so that I can still easily understand the API at the
documentation level, I've noticed that two of my modules have
subroutines that only perform global tasks, and don't need to be
object-oriented at all.

Is it recommended that I stick with the overall style of the project by
making all of the modules object-oriented, or is it better to create
procedural modules when objects are not required?



Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About