On 11/16/05, Shawn Corey <[EMAIL PROTECTED]> wrote: [snipped misinformation]
Shawn, I'm not sure where you're headed with this (I didn't see the question it is in reply to) but take another look at perlfaq4. Linked lists are normally implemented in Perl as hasrefs, and described adequately in perlfaq4 ('how do I handle linked lists?'), as well as perldsc and perltoot and _Mastering Algorithms with Perl_, which is IMO a must read for anyone thinking about manipulating complex and possibly recursive data structures. If you are having a specific issue with linked lists, please provide the code you're working on as requested in the mailing list FAQ. Your post is simply listing the standard array functions and operators. There is nothing linked about the data manipulated by these functions, as each item is a simple scalar and contains no information about the preceding and following items. Also please see perldoc -q 'what is the difference between a list and an array'. You seem to be confusing the two. '@list' is not a list; it is an array. HTH --j -------------------------------------------------- This email and attachment(s): [ ] blogable; [ x ] ask first; [ ] private and confidential daggerquill [at] gmail [dot] com http://www.tuaw.com http://www.dpguru.com http://www.engatiki.org values of β will give rise to dom!