in reply to Re^6: Tree depth
in thread Tree depth

Well, you need to declare those variables. RFC: Tutorial: use strict; now what!? Might help you a bit.

Replies are listed 'Best First'.
Re^8: Tree depth
by katarinahm (Initiate) on Mar 14, 2012 at 07:32 UTC

    Now it works!! Thank you for your patience!