Every project normally starts out with a thorough study of application specifications and design. Provided design is done properly, you shouldn’t have to deal with such issues as ‘multi-purpose’ modules that are nothing but a ‘package’ crammed with as much functionality as only possible. Modules (in Perl specifically) inherently should serve the purpose of separating one piece of functionality from the rest of your program. Not to mention advantages of software reuse.. but that’s a different subject anyways ;).

I have found a number of posts made by other monks that speak to this affect:
  1. Thoughts On Object-Oriented Module Design. Input Sought.
  2. Coming up with code design
There’s also a good book that I might suggest you look into for ideas on proper software design:

Object-Oriented Analysis and Design with Applications, Third Edition

"There is no system but GNU, and Linux is one of its kernels." -- Confession of Faith

In reply to Re: Object functionality? by vladb
in thread Object functionality? by BUU

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.