http://qs321.pair.com?node_id=1107448


in reply to Re^3: Tree in perl
in thread Tree in perl

I am trying to removing syntax error from your code, but no success. Can you check it.

Replies are listed 'Best First'.
Re^5: Tree in perl
by McA (Priest) on Nov 17, 2014 at 18:50 UTC

    Hi,

    just checked it again: My code (McA) doesn't have an syntax error. At least not on my machine. So, show us what your perl version is saying about the code.

    McA

      syntax error at t.pl line 11, near "+ }"

        That's because you copied and pasted his code. Perlmonks automatically wraps long lines, and adds '+'. Download the code instead.