in reply to Re: recursion
in thread Trouble traversing binary tree (was: recursion)

Be very careful - you are wrong. Since he is calling the method using $self->, he implicitly passes $self as the first parameter. Therefor, his call to displaynames() will work as it is. Your update is the real reason, as merlyn++ pointed out.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re: Re^2: recursion
by jepri (Parson) on Jun 24, 2002 at 01:07 UTC
    Ack! I'm stupid as charged, except for the bit that should read "real reason, as merlyn++ and jepri-- pointed out". I don't go around copying other peoples nodes without credit.

    ____________________
    Jeremy
    I didn't believe in evil until I dated it.

      Nowhere is there a mention that you copied merlyn - his note was there at the time I replied, so it seemed appropriate to me to mention him.

      :)

      Makeshifts last the longest.