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

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); } }

Replies are listed 'Best First'.
Re^5: Depth First Search
by BrowserUk (Patriarch) on Aug 10, 2016 at 19:55 UTC
    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.