On May 12, Rob Dixon said:

>> >Now, I want to walk the tree starting with a known "package1" and build an
>> >ordered list of packages to install. For example:
>
>But in the general caase there's a problem with finding the root of the
>tree. Indeed there may be several independent trees or none at all if the
>relationships are cyclic.

Well, the OP said he wanted to start with a specific package, so it sounds
like he knows that will be the root of the tree.  In addition, I don't
expect it's proper form for a dependency tree to be cyclic... that would
be impossible to work with, realistically speaking.

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
CPAN ID: PINYAN    [Need a programmer?  If you like my work, let me know.]
<stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to