Hi

I'm having a project which is growing more complex by the day, and I'm thinking of refactoring it into smaller distributions, but I'm puzzled about the best strategy to do so.

This architectural worries are stopping me now˛...

(Update: to make things worse I'm also thinking into refactoring into a super module, because the name doesn't fit anymore to the functionality)

Motivation

-pro

-contra

Strategy

I think now it's better to go step by step, and to first refactor it into separate modules inside the same distribution, before transfering them into separate distribution.

Is there a best practice to do so?

For instance shall I create a dedicated top-level directory for this or put it directly into /lib ?

Comments?

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

PS: in hindsight this should rather be a meditation not a SOPW, gonna move it right away after posting.

*) which are

  • source filter
  • attributes
  • INC-hooks
  • debugger adjustments
  • ...

    ˛) i.e. getting it right instead of getting it done...


    In reply to Refactoring complex module into set of specialized sub modules? by LanX

    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.