|Syntactic Confectionery Delight|
make-like dependency tools in perlby bsb (Priest)
|on Jun 24, 2005 at 07:24 UTC||Need Help??|
bsb has asked for the
wisdom of the Perl Monks concerning the following question:
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?)
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?