in reply to Graphical structure problem
Looking at your parentchildrelationship sub, I can't see how it's defining a tree of any kind. Either 'a' has two parents or 'b' has two parents.
It would help us to know what kind of output you're expecting. One thing I notice is that you print $nodeparents, but that's an array reference. You might want to look at Data::Dumper to see the contents of it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tree structure problem
by newbio (Beadle) on May 08, 2007 at 17:50 UTC |