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

Procedural modules in an object-oriented project

Thread Next
From:
Steve Bertrand
Date:
August 18, 2009 16:39
Subject:
Procedural modules in an object-oriented project
Message ID:
4A8B3BB1.6080107@ibctech.ca
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?

Regards,

Steve


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About