in reply to implementing linklist structure in perl
In any case, as others have posted alreay, you generally don't use linked lists in perl. In any case you can implement them in perl in the same way you can implement them in C or Pascal: $element->{next} = $next_element
|
|---|