This seems to somewhat run counter to my interpretation of this part of the homework:
IntList is a dictionary with keys
I wouldn't interpret anonymous arrays as "dictionary with keys", especially if the keys have the names value and next.
In reply to Re^4: Nodes count in Linked List
by Corion
in thread Perl linked list
by Perl_is_Perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |