L
larry_wallet
How would I go about creating a linked list in Perl? I would like to
dynamically generate structures or objects and link one to the next so
that I may traverse the list back and forth.
I would then like to have each object in the list contain as a member
a single text character. By stringing together an arbitrary number of
these objects, this larger structure, which could be a class
containing the linked list, could be used as a "string" class,
literally a string of characters, not bound by the limitations of
simple common strings.
I appreciate any thoughts on how I might implement this structure in
Perl, which seems uniquely well suited to the task.
****
*lw*
****
Director of Generic Programming and Abstractions,
Integrated Distributed Systems, Inc.
dynamically generate structures or objects and link one to the next so
that I may traverse the list back and forth.
I would then like to have each object in the list contain as a member
a single text character. By stringing together an arbitrary number of
these objects, this larger structure, which could be a class
containing the linked list, could be used as a "string" class,
literally a string of characters, not bound by the limitations of
simple common strings.
I appreciate any thoughts on how I might implement this structure in
Perl, which seems uniquely well suited to the task.
****
*lw*
****
Director of Generic Programming and Abstractions,
Integrated Distributed Systems, Inc.