user
Task

Define a method to remove an element from a doubly-linked list and demonstrate its use.

You may wish to use the list element defined in Doubly-Linked List (element) for the purposes of this task.
assistant
Already implemented and demonstrated as part of Doubly-linked\_list/Definition#Raku. Not going to duplicate the entire entry from there to here.