Re: Arrays and Lists

2007-10-28 Thread Jeff Pang
On 10/29/07, Tom Phoenix <[EMAIL PROTECTED]> wrote: > An array is the kind of variable which holds > a list; a list is the kind of data which is stored in an array. You > can use the list contained in an array, and you can store a list into > an array. But the array is the container, and the list

Arrays and Lists

2007-10-28 Thread Tom Phoenix
ways make this distinction clear in the early days of Perl and Perl documentation. It didn't help that scalar data is stored in scalar variables. It seemed natural to try to make it happen that arrays and lists could be considered "the same thing"; but (we realize now) a list is not