- or download this
Root: First = 1; Last = 5; Next = ; Previous = ;
1: First = 11; Last = 15; Next = 2; Previous = ;
2: First = 21; Last = 25; Next = 3; Previous = 1;
...
554: First = ; Last = ; Next = 555 ; Previous = 553;
555: First = ; Last = ; Next = ; Previous = 554;
- or download this
push(@Children,$root->child_nodes); # could be push(@Children,$start_n
+ode_id); too, any starting point...
while(@Children)
{ $node = shift @Children;
...
}
print "\n";
}
- or download this
1->11,12,13,14,15,
2->21,25,
...
14->
15->
...