Sigh. Sadly, it has become fashionable to bring up Perl only to ridicule it even when there is absolutely no context or need.
Take a look at this implementation [1] of doubly linked list in Perl. Tell me how that is worse [2].
Now, I will go back to my corner to being productive using Perl or whatever language I need.
[1] https://metacpan.org/source/LEONT/List-DoubleLinked-0.003/li...
[2] Of course, I have no way of knowing if it is an exact or even close translation of your code, but it does implement doubly linked lists.