[ 3,[2,[2,[3,[3,[3,[1, undef ]]]]]]]].
But I fear the author if this assignment just lazily copied a task from Lisp and has no big idea what Perl is.
In reply to Re^3: Nodes count in Linked List
by LanX
in thread Perl linked list
by Perl_is_Perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |