in reply to Task scheduling using perl
One possible solution: You could use a Simple tree structure, such as CPAN module Tree::Simple, and insert your tasks into the tree based on parent/children relationship. To find out which job has the least dependency, just begin from the leaf of the tree and traverse back up the tree.
|
---|
In Section
Seekers of Perl Wisdom