Doubly-linked list/Element definition: Difference between revisions

Content added Content deleted
(+ AutoHotkey)
Line 295: Line 295:


=={{header|Perl}}==
=={{header|Perl}}==
Just use an array. You can traverse and splice it any way. Linked lists are way too low level.

However, if all you have is an algorithm in another language, you can use references to accomplish the translation.


<lang perl>my %node = (
<lang perl>my %node = (