in reply to How to find all the elements in a circular linked list

Show us the real data structure that would contain the sample data you provided. Also (and maybe more importantly), tell us why you need a circular linked list. Perl's arrays and array handling mean that most things you might use lists for in other languages are easy and efficient using a Perl array.

Premature optimization is the root of all job security
  • Comment on Re: How to find all the elements in a circular linked list