in reply to
Re^5: Tree in perl
in thread
Tree in perl
syntax error at t.pl line 11, near "+ }"
Comment on
Re^6: Tree in perl
Replies are listed 'Best First'.
Re^7: Tree in perl
by
Anonymous Monk
on Nov 17, 2014 at 19:51 UTC
That's because you copied and pasted his code. Perlmonks automatically wraps long lines, and adds '+'. Download the code instead.
[reply]
In Section
Seekers of Perl Wisdom