I have read lots recently, and read about lots of smart ways to create and manage modules, but i have never read the answer to a basic and primordial (to me) question :

Concretely, how to develop a module in a "handy" way ?

Until now i had all my files together in a directory, and they called each other with "lib". When i modified a file it was immediately taken into account by the others : it was easy.

Since i have started to try and develop a project with several modules, (created with Module::Starter::PBP for a first go), i don't need to use "lib" anymore, as i install my modules with "dmake install" and they go into my Perl directory.

But, it got more complicated and irritating for me to develop:
Each time i change a little thing in one of my modules, i have to type "dmake install" in the corresponding directory (thus having a terminal opened for each directory), so that the other modules will know about this change. It is very annoying.

What am i doing wrong ?

How do you develop your modules ?

Until you release your module "to others", do you keep on using "lib" so that your modules will know about each other?

I am discombobulated. Thank you for any piece of help :o)


In reply to Developing a module, how do you do it ? by mascip

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.