Dependency driven execution is a problem that keeps on cropping up. My lastest encounter is in progating changes through a data warehouse. Before that is was running one section of a test script but ensuring the dependencies are fulfilled (eg. login first). Build systems and component publishing systems deal with dependencies too.

What I need is something like "make" which has a graph of dependencies, rules for updating them and a means to check the age/change state of items. You can then "make endproduct" and it will update the parts that need to be updated in the right order. The problem with make is that it's tied to files (is there another way to use it?)

I've looked around for either a module or software with the right hooks, but can't find anything. Cons and Makepp are written in Perl but, as with make, the seem too file-system tied.

AAP by Bram "vim" Moolenaar looks more flexible but uses Python as it's scripting language. (I recommend the linked "design decisions" article as an information source for the problem domain).

On CPAN there's Algorithm::Dependency, but it's doesn't address this problem, leaving Graph as the best module to try an adapt.

Is there anything better out there that I've missed?
Or another way of thinking about the problem?

Brad


In reply to make-like dependency tools in perl by bsb

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.