in reply to Re^2: Depth First Search
in thread Depth First Search

Could you post the output from the P6 code? Does it look like this?:

Chapter 1 started Chapter 1.1 started Chapter 1.1 finished Chapter 1.2 started Chapter 1.2.2 started Chapter 1.2.2 finished Chapter 1.2.1 started Chapter 1.2.1 finished Chapter 1.2 finished Chapter 1 finished Chapter 2 started Chapter 2.1 started Chapter 2.1.1 started Chapter 2.1.1 finished Chapter 2.1 finished Chapter 2 finished

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^4: Depth First Search
by gbar (Initiate) on Aug 10, 2016 at 18:08 UTC
    I am trying to do the following : I would like to send Getinfo as a tread until we passing the return until child is 0;
    sub GenerateVerilogFiles{ my ($self,$blockname)=@_; my $fileName = $BlockNameClass->{FileName}; $BlockNameClass->GetInfo($blockname); my $childFlag = ($fileName eq lala) ; return if($childFlag) ; foreach(my $x keys %{$BlockNameClass->{xxx}}) { GenerateVerilogFiles ($x); } }
      I would like to send Getinfo as a tread until we passing the return until child is 0;

      I'm sorry, but I cannot parse that sentence. Could you re-phrase it for me?

      (I get that "tread" => thread; but can't fathom "until we passing the return until"?)


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
      In the absence of evidence, opinion is indistinguishable from prejudice.