Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    #
    ...
            }
        }
    }
    
  2. or download this
    for( my $RightNode = $Node->right; 
        (defined $RightNode) && 
    ...
        $RightNode = $RightNode->right)
    {
    }
    
  3. or download this
    my @NodesOnRight = $Node->right; 
    my $NumNodesOnTheRight = @NodesOnRight;
    ...
    print "The node to the right of " . $Node->as_HTML . "is [" . $RightNo
    +de1 . "]";
    print "[" . $RightNode1->as_HTML . "]";
    print "\n";
    
  4. or download this
    $NumNodesOnTheRight = 51
     
    ...
    ]
    Can't call method "as_HTML" without a package or object reference at T
    +raverseTree.pl line 75.
    
  5. or download this
    my $RightNode = $Node->right;
    my $NextRightNode = $RightNode->right;